public function LibraryPattern::getThemeImplementation in UI Patterns 8
Get theme implementation for current pattern.
Return value
array Theme implementation array.
Overrides PatternBase::getThemeImplementation
See also
File
- modules/
ui_patterns_library/ src/ Plugin/ UiPatterns/ Pattern/ LibraryPattern.php, line 57
Class
- LibraryPattern
- The UI Pattern plugin.
Namespace
Drupal\ui_patterns_library\Plugin\UiPatterns\PatternCode
public function getThemeImplementation() {
$item = parent::getThemeImplementation();
$definition = $this
->getPluginDefinition();
$item[$definition['theme hook']] += $this
->processTemplateProperty($definition);
$item[$definition['theme hook']] += $this
->processCustomThemeHookProperty($definition);
return $item;
}