zoekt: 2529 files / 24669 matches / 2050.87ms neogrok: 20 files / 96 matches
git.drupalcode.org/project/wardenREADME.md 2 matches | 4.0.x | Markdown | №1
93
'jQuery' => '1.11',94 'foo' => '1.5',95 'buzz' => '0.1',98
'mailchimp' => '4.5',99 'bar' => '2.1.5',100 ),git.drupalcode.org/project/ppfREADME.md 4 matches | 1.0.x, 1.2.x | Markdown | №2
30
31 $variables['foo'] = 'bar';32 ```83
// Preprocess your variables here just like you would in a hook!84 $variables['foo'] = 'bar';85 ```git.drupalcode.org/project/form_panelREADME.txt 4 matches | 9.0.x, 9.1.x | Text | №3
51
$form = array('#theme' => 'form_panel_table');52 $form['foo'] = ...first form element goes here...53 $form['bar'] = ...second form element goes here...54 58
$form['my-table'] = array('#theme' => 'form_panel_table');59 $form['my-table']['foo'] = ...first form element goes here...60 $form['my-table']['bar'] = ...second form element goes here...61 git.drupalcode.org/project/encrypt_kmsREADME.md 2 matches | 8.x-1.x | Markdown | №4
41
```42 $config['encrypt_kms.settings']['aws_key'] = 'foo';43 $config['encrypt_kms.settings']['aws_secret'] = 'bar';44 ```git.drupalcode.org/project/aws_secrets_managerREADME.md 2 matches | 2.x | Markdown | №5
26
```27 $config['aws_secrets_manager.settings']['aws_key'] = 'foo';28 $config['aws_secrets_manager.settings']['aws_secret'] = 'bar';29 ```git.drupalcode.org/project/batch_servicesREADME.md 2 matches | 1.0.x | Markdown | №6
70
public function processBatchItem() {71 $example = ['foo', 'bar', 'baz'];72 $this->setTotal(count($example));git.drupalcode.org/project/mail_composerREADME.md 10 matches | 1.x | Markdown | №7
55
public function getFrom(): string {56 return 'foobar@foo.bar';57 }78
79 $variables = ['my_variable_1' => 'foo', 'my_variable_2' => 'bar'];80 $email = new \Drupal\my_module\TestEmail($variables);81 $manager->compose($email)->setTo('foo@bar.bar')->send();82 ```git.drupalcode.org/project/preprocessorsREADME.md 5 matches | 3.0.x, 3.1.x | Markdown | №8
26
function MY_THEME_preprocess_node(&$variables) {27 $variables['foo'] = 'bar';28 }67
public function preprocess(array &$variables, string $hook, array $info) : void {68 $variables['foo'] = 'bar';69 }115
public function preprocess(array &$variables, string $hook, array $info) : void {116 $variables['foo'] = "bar";117 }git.drupalcode.org/project/opentelemetryREADME.md 2 matches | 1.x, 1.0.x | Markdown | №9
15
$span = $tracer->spanBuilder('My custom operation')->startSpan();16 $span->setAttribute('foo', 'bar');17 // Do some stuff.git.drupalcode.org/project/google_tag_eventsREADME.md 4 matches | 3.x | Markdown | №10
39
'event' => 'some_event_name'40 'foo' => 'bar'41 ]49
'event': 'some_event_name',50 'foo': 'bar'51 });git.drupalcode.org/project/lgmscore/core.api.php 8 matches | dev | PHP | №11
305
* // Get an associative array.306 * $bar = $config->get('bar');307 * // Get one element of the array.331
* $config->clear('bar.boo')->save();332 * $config_data = $config->get('bar');333 * @endcode668
* action. In the standard case, access checking consists of answering the669 * question "Does the current user have permission 'foo'?", and allowing or670 * denying access based on the answer. Note that access checking should nearly818
* $entity_type_manager = \Drupal::entityTypeManager();819 * // Retrieve the service object for machine name 'foo.bar'.820 * $foobar = \Drupal::service('foo.bar');821 * @endcodegit.drupalcode.org/project/lgmscore/includes/theme.inc 3 matches | dev | PHP | №12
1009
// Rows and footer have the same structure.1010 $sections = ['rows' , 'footer'];1011 foreach ($sections as $section) {2016
'table' => [2017 'variables' => ['header' => NULL, 'rows' => NULL, 'footer' => NULL, 'attributes' => [], 'caption' => NULL, 'colgroups' => [], 'sticky' => FALSE, 'responsive' => TRUE, 'empty' => ''],2018 ],2030
],2031 'progress_bar' => [2032 'variables' => ['label' => NULL, 'percent' => NULL, 'message' => NULL],git.drupalcode.org/project/search_api_solrsearch_api_solr.api.php 3 matches | 4.x | PHP | №13
143
144 $solarium_query->setQuery($solr_field_names['title'] . ':' . $solarium_query->getHelper()->escapePhrase('foo') . '^11.0');145 }189
foreach ($documents as $document) {190 $document->setField('foo', 'bar');191 }git.drupalcode.org/project/belgradeREADME.md 2 matches | 3.x | Markdown | №14
79
navigation: 'Navigation'80 top_bar: 'Top bar'81 header: 'Header'86
sidebar_second: 'Secondary'87 footer: 'Footer'88 page_top: 'Page top'git.drupalcode.org/project/mail_box_managementlib/tinymce/models/dom/model.js 8 matches | 1.0.x | JavaScript | №15
2618
'figure',2619 'footer',2620 'header',3245
if (row.section === 'tfoot') {3246 return { type: 'footer' };3247 } else if (isHeaderRow || isHeaderCells) {3268
const hasHeader = contains$2(rowTypes, 'header');3269 const hasFooter = contains$2(rowTypes, 'footer');3270 if (!hasHeader && !hasFooter) {3276
} else if (!hasHeader && !hasBody && hasFooter) {3277 return Optional.some('footer');3278 } else {4368
'figure',4369 'footer',4370 'header',git.drupalcode.org/project/select2README.md 4 matches | 8.x-1.x, 2.x | Markdown | №16
59
'#title' => t('My select2 form element'),60 '#options' => ['foo', 'bar'],61 ];70
'#title' => t('My select2 form element'),71 '#options' => ['foo', 'bar'],72 '#select2' => [git.drupalcode.org/project/vartheme_bs5theme-settings.php 10 matches | 4.0.x, 5.0.x | PHP | №17
50
$vartheme_bs5_contained_regions = [51 'top_bar' => t('Top bar'),52 // 'navbar_branding' => t('Navbar branding'),55
'content_above' => t('Content above'),56 // 'primary_sidebar' => t('Primary sidebar'),57 'content' => t('Content'),58 // 'secondary_sidebar' => t('Secondary sidebar'),59 'content_below' => t('Content below'),60 'footer_top' => t('Footer top'),61 'footer_bottom' => t('Footer bottom'),git.drupalcode.org/project/lgmsvendor/symfony/finder/Glob.php 5 matches | dev | PHP | №18
20
* $regex = glob_to_regex("foo.*");21 * for (['foo.bar', 'foo.baz', 'foo', 'bar'] as $t)22 * {git.drupalcode.org/project/vartheme_bs5theme-settings.php 10 matches | 3.0.x | PHP | №19
50
$vartheme_bs5_contained_regions = [51 'top_bar' => t('Top bar'),52 // 'navbar_branding' => t('Navbar branding'),55
'content_above' => t('Content above'),56 // 'primary_sidebar' => t('Primary sidebar'),57 'content' => t('Content'),58 // 'secondary_sidebar' => t('Secondary sidebar'),59 'content_below' => t('Content below'),60 'footer_top' => t('Footer top'),61 'footer_bottom' => t('Footer bottom'),git.drupalcode.org/project/lgmscore/modules/migrate/src/Row.php 6 matches | dev | PHP | №20
281
*282 * For example calling setDestination('foo/bar', 'baz') results in283 * @code284 * $this->destination['foo']['bar'] = 'baz';285 * $this->rawDestination['foo/bar'] = 'baz';286 * @endcode