public &DataDefinition::offsetGet($offset)
This is for BC support only. @todo: Remove in https://www.drupal.org/node/1928868.
File
- core/lib/Drupal/Core/TypedData/DataDefinition.php, line 307
Class
- DataDefinition
- A typed data definition class for defining data based on defined data types.
Namespace
Drupal\Core\TypedData
Code
public function &offsetGet($offset) { if (!isset($this->definition[$offset])) { $this->definition[$offset] = NULL; } return $this->definition[$offset]; }
Please login to continue.