- Currently is search by location
- Would like to make it more of a directory
- View by alpha, more like a directory in the future (in page search, possibly)
- Low use case and we don't really want people searching by location
- in page search (basically replication Command+F)
- potentially search by ID
- potentially search by name
- remove search by code/ID (and do not display that information)
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
| name: nightwatch-test | |
| recipe: drupal8 | |
| config: | |
| webroot: web | |
| services: | |
| appserver: | |
| build_as_root: | |
| # Install nodejs and yarn in the main container. They have to live here | |
| # because PHP is required for the site installation and other ops in | |
| # nightwatch tests. |
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
| name: drupal-core | |
| recipe: drupal8 | |
| config: | |
| webroot: drupal | |
| services: | |
| node: | |
| type: node:10 | |
| tooling: | |
| phpunit: | |
| service: appserver |
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
| /** | |
| * Implements hook_theme_suggestions_region_alter(). | |
| */ | |
| function THEME_NAME_theme_suggestions_region_alter(&$suggestions, $variables) { | |
| // Create custom header template suggestions for specific node types. | |
| if ($variables['elements']['#region'] == 'header') { | |
| $node = \Drupal::routeMatch()->getParameter('node'); | |
| $node_bundles = ['article', 'blog']; | |
| if ($node instanceof \Drupal\node\NodeInterface) { | |
| if (in_array($node->bundle(), $node_bundles)) { |
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
| // Check the current route to see if we are on a Layout Builder page. | |
| // If so, return without doing anything. | |
| $route = \Drupal::routeMatch()->getRouteObject(); | |
| $isLayoutBuilderRoute = ($route->getOption('_layout_builder') ?: null); | |
| if ($isLayoutBuilderRoute) { | |
| return; | |
| } |
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
| /*! | |
| * Scroll Sneak | |
| * http://mrcoles.com/scroll-sneak/ | |
| * | |
| * Copyright 2010, Peter Coles | |
| * Licensed under the MIT licenses. | |
| * http://mrcoles.com/media/mit-license.txt | |
| * | |
| * Date: Mon Mar 8 10:00:00 2010 -0500 | |
| */ |