You are here

public function PatternDefinition::getFields in UI Patterns 8

Getter.

Return value

PatternDefinitionField[] Property value.

2 calls to PatternDefinition::getFields()
PatternDefinition::getFieldsAsOptions in src/Definition/PatternDefinition.php
Get field as options.
PatternDefinition::toArray in src/Definition/PatternDefinition.php
Return array definition.

File

src/Definition/PatternDefinition.php, line 196

Class

PatternDefinition
Class PatternDefinition.

Namespace

Drupal\ui_patterns\Definition

Code

public function getFields() {
  return $this->definition['fields'];
}