public function PatternDefinition::hasTemplate in UI Patterns 8
Getter.
Return value
bool Whereas has template.
1 call to PatternDefinition::hasTemplate()
- PatternDefinition::__construct in src/
Definition/ PatternDefinition.php - PatternDefinition constructor.
File
- src/
Definition/ PatternDefinition.php, line 503
Class
- PatternDefinition
- Class PatternDefinition.
Namespace
Drupal\ui_patterns\DefinitionCode
public function hasTemplate() {
return !empty($this->definition['template']);
}