You are here

public function WebformElementEntityReferenceInterface::getTargetType in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElementEntityReferenceInterface.php \Drupal\webform\Plugin\WebformElementEntityReferenceInterface::getTargetType()

Get referenced entity type.

Parameters

array $element: An element.

Return value

string A entity type.

1 method overrides WebformElementEntityReferenceInterface::getTargetType()
WebformManagedFileBase::getTargetType in src/Plugin/WebformElement/WebformManagedFileBase.php
Get referenced entity type.

File

src/Plugin/WebformElementEntityReferenceInterface.php, line 21

Class

WebformElementEntityReferenceInterface
Provides an 'entity_reference' interface used to detect entity reference elements.

Namespace

Drupal\webform\Plugin

Code

public function getTargetType(array $element);