class ThemeSuggestions

Implements hook_theme_suggestions_alter().

Plugin annotation

@BootstrapAlter("theme_suggestions")

Hierarchy

Expanded class hierarchy of ThemeSuggestions

Related topics

Namespace

Drupal\bootstrap\Plugin\Alter

Members

Contains filters are case sensitive
Name Modifiers Type Description
PluginBase::$theme protected property The currently set theme object.
PluginBase::__construct public function
ThemeSuggestions::$bootstrapPanelTypes protected property The element types that should be converted into Panel markup.
ThemeSuggestions::$element protected property An element object provided in the variables array, may not be set.
ThemeSuggestions::$hook protected property The theme hook invoked.
ThemeSuggestions::$hookSuggestions protected property The theme hook suggestions, exploded by the "__" delimiter.
ThemeSuggestions::$ignoreFormControlTypes protected property The types of elements to ignore for the "input__form_control" suggestion.
ThemeSuggestions::$originalHook protected property The original "hook" value passed via hook_theme_suggestions_alter().
ThemeSuggestions::$suggestions protected property The array of suggestions to return.
ThemeSuggestions::$variables protected property The variables array object passed via hook_theme_suggestions_alter().
ThemeSuggestions::addEntitySuggestions Deprecated public function Adds "bundle" and "view mode" suggestions for an entity.
ThemeSuggestions::addSuggestion protected function Adds suggestions based on an array of hooks.
ThemeSuggestions::addSuggestionsForEntity protected function Adds "bundle" and "view mode" suggestions for an entity.
ThemeSuggestions::alter public function Alters data for a specific hook_TYPE_alter() implementation. Overrides AlterInterface::alter
ThemeSuggestions::alterInput protected function Dynamic alter method for "input".
ThemeSuggestions::alterLinksDropbutton protected function Dynamic alter method for "links__dropbutton".
ThemeSuggestions::alterUser protected function Dynamic alter method for "user".
ThemeSuggestions::buildSuggestions protected function Builds a list of suggestions.
ThemeSuggestions::getAlterMethods protected function Retrieves the methods to invoke to process the theme hook suggestion.
ThemeSuggestions::getEntity Deprecated public function Extracts the entity from the element(s) passed in the Variables object.
ThemeSuggestions::getEntityObject protected function Extracts the entity from the element(s) passed in the Variables object.
ThemeSuggestions::processSuggestions protected function Processes the necessary theme hook suggestions.