This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| block_address_standalone: | |
| pattern: '/block-address/standalone/{block_id}/{route}' | |
| defaults: | |
| _controller: 'block_controller:respond' | |
| requirements: | |
| _access_addressed_block: 'TRUE' | |
| block_address_embedded: | |
| pattern: '/block-address/embedded/{display}/{block_id}' | |
| defaults: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - BookNavigationBlock | |
| - menu_get_object() called from build, in search of a node | |
| - book_get_books() called, if in "all pages" mode, to search out book/current page associations | |
| - lots of menu_tree_output(), etc., called, which relies on current path info | |
| - ActiveTopicsBlock and NewTopicsBlock | |
| - not breaking data encapsulation, but calls drupal_render_cache_by_query() | |
| - LanguageBlock | |
| - menu_is_front_page()/current_path() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\Core\Asset\AssetGroupingInterface. | |
| */ | |
| namespace Drupal\Core\Asset; | |
| /** | |
| * Interface defining a service that organizes sets of assets into groups. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function template_preprocess_page(&$variables) { | |
| $language_interface = language(LANGUAGE_TYPE_INTERFACE); // DC | |
| $site_config = config('system.site'); // DC | |
| // Move some variables to the top level for themer convenience and template cleanliness. | |
| $variables['show_messages'] = $variables['page']['#show_messages']; // Bad | |
| foreach (system_region_list($GLOBALS['theme']) as $region_key => $region_name) { | |
| if (!isset($variables['page'][$region_key])) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WD php: Notice: Undefined index: module in Drupal\block\BlockPluginBag->initializePlugin() (line [notice] | |
| 60 of /Users/sdboyer/ws/dd/8dev/core/modules/block/lib/Drupal/block/BlockPluginBag.php). [73.62 | |
| sec, 64.69 MB] | |
| WD php: Drupal\Component\Plugin\Exception\PluginException: The plugin (menu_navigation) did not [error] | |
| specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() | |
| (line 62 of | |
| /Users/sdboyer/ws/dd/8dev/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php). [73.63 | |
| sec, 64.5 MB] | |
| Drupal\Component\Plugin\Exception\PluginException: The plugin (menu_navigation) did not specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 62 of /Users/sdboyer/ws/dd/8dev/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php). | |
| Drush command terminated abnormally due to an unrecoverable error. [73.63 sec, 64.49 MB] [error] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\block\DefaultBlockController. | |
| */ | |
| namespace Drupal\block; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Drupal\Core\Page\HtmlFragment; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| groupings: | |
| layout-small: 'Small layout, active until 559px' | |
| layout-medium: 'Medium Layout, active at 600px' | |
| classes: | |
| l-s-1-4: | |
| group: layout-small | |
| description: 'Span one of four columns' | |
| l-s-2-4: | |
| group: layout-small | |
| description: 'Span two of four columns' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| layout: 'static_layout:layout__core' | |
| layoutSettings: { } | |
| masterId: '' | |
| masterType: display | |
| id: frontend | |
| uuid: 9e0f88e3-9683-4a0c-8e00-b84c041ac835 | |
| status: '1' | |
| langcode: en | |
| blockInfo: | |
| block.block.bartik.help: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\block\BlockBase. | |
| */ | |
| namespace Drupal\block; | |
| use Drupal\Component\Plugin\ContextAwarePluginBase; |