public function FieldInstance::__construct

Constructs a FieldInstance object.

Parameters

array $definition: The instance definition array, as read from configuration storage.

File

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

Class

FieldInstance
Class for field instance objects.

Namespace

Drupal\field

Code

public function __construct(array $definition) {
  $this->definition = $definition;
}