public function FieldInstance::getArray

Returns the instance definition as a regular array.

This is used as a temporary BC layer. @todo Remove once the external APIs have been converted to use FieldInstance objects.

Return value

array The instance definition as a regular array.

File

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

Class

FieldInstance
Class for field instance objects.

Namespace

Drupal\field

Code

public function getArray() {
  return $this->definition;
}