public DataDefinition::offsetExists($offset)
This is for BC support only. @todo: Remove in https://www.drupal.org/node/1928868.
public function offsetExists($offset) { // PHP's array access does not work correctly with isset(), so we have to // bake isset() in here. See https://bugs.php.net/bug.php?id=41727. return array_key_exists($offset, $this->definition) && isset($this->definition[$offset]); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!DataDefinition.php/function/DataDefinition::offsetExists/8.1.x