You are here

public function PatternDefinition::hasUse in UI Patterns 8

Getter.

Return value

bool Whereas definition uses the "use:" property.

File

src/Definition/PatternDefinition.php, line 414

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

public function hasUse() {
  return !empty($this->definition['use']);
}