You are here

protected function ThemeSuggestions::alterUser in Express 8

Dynamic alter method for "user".

@todo Remove/refactor once core issue is resolved.

See also

https://www.drupal.org/node/2828634

https://www.drupal.org/node/2808481

File

themes/contrib/bootstrap/src/Plugin/Alter/ThemeSuggestions.php, line 137
Contains \Drupal\bootstrap\Plugin\Alter\ThemeSuggestions.

Class

ThemeSuggestions
Implements hook_theme_suggestions_alter().

Namespace

Drupal\bootstrap\Plugin\Alter

Code

protected function alterUser() {
  $this
    ->addSuggestionsForEntity('user');
}