You are here

public function ExtraFieldFormInterface::getFormMode in Extra Field 8.2

Returns the entity form mode of the field's host entity.

Return value

string The form mode the field is being rendered in.

1 method overrides ExtraFieldFormInterface::getFormMode()
ExtraFieldFormBase::getFormMode in src/Plugin/ExtraFieldFormBase.php
Returns the entity form mode of the field's host entity.

File

src/Plugin/ExtraFieldFormInterface.php, line 75

Class

ExtraFieldFormInterface
Defines an interface for Extra Field Form plugins.

Namespace

Drupal\extra_field\Plugin

Code

public function getFormMode();