protected function ThemeSuggestions::alterLinksDropbutton in Express 8
Dynamic alter method for "links__dropbutton".
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Alter/ ThemeSuggestions.php, line 123 - Contains \Drupal\bootstrap\Plugin\Alter\ThemeSuggestions.
Class
- ThemeSuggestions
- Implements hook_theme_suggestions_alter().
Namespace
Drupal\bootstrap\Plugin\AlterCode
protected function alterLinksDropbutton() {
// Remove the 'dropbutton' suggestion.
array_shift($this->hookSuggestions);
$this
->addSuggestion('bootstrap_dropdown');
}