You are here

protected function EntityFormField::getEntityTypeId in Views Entity Form Field 8

Get the entity type ID for this views field instance.

Return value

string The entity type ID.

Overrides EntityTranslationRenderTrait::getEntityTypeId

2 calls to EntityFormField::getEntityTypeId()
EntityFormField::getBundleFieldDefinition in src/Plugin/views/field/EntityFormField.php
Collects the definition of field.
EntityFormField::saveEntities in src/Plugin/views/field/EntityFormField.php
Save the view's entities.

File

src/Plugin/views/field/EntityFormField.php, line 157

Class

EntityFormField
Defines a views form element for an entity field widget.

Namespace

Drupal\views_entity_form_field\Plugin\views\field

Code

protected function getEntityTypeId() {
  if (is_null($this->entityTypeId)) {
    $this->entityTypeId = $this
      ->getEntityType();
  }
  return $this->entityTypeId;
}