You are here

public function ArrayAccessDefinitionTrait::offsetGet in UI Patterns 8

File

src/Definition/ArrayAccessDefinitionTrait.php, line 24

Class

ArrayAccessDefinitionTrait
Class ArrayAccessDefinitionTrait.

Namespace

Drupal\ui_patterns\Definition

Code

public function offsetGet($offset) {
  return isset($this->definition[$offset]) ? $this->definition[$offset] : NULL;
}