public function FieldInstance::offsetExists

Implements ArrayAccess::offsetExists().

File

drupal/core/modules/field/lib/Drupal/field/FieldInstance.php, line 162
Definition of Drupal\field\FieldInstance.

Class

FieldInstance
Class for field instance objects.

Namespace

Drupal\field

Code

public function offsetExists($offset) {
  return isset($this->definition[$offset]) || array_key_exists($offset, $this->definition);
}