Returns the field entity for this instance.
Return value
\Drupal\field\FieldInterface
The field entity for this instance.
File
- drupal/core/modules/field/lib/Drupal/field/FieldInstanceInterface.php, line 23
- Contains \Drupal\field\FieldInstanceInterface.
Class
- FieldInstanceInterface
- Provides an interface defining a field instance entity.
Namespace
Drupal\field
Code
public function getField();