You are here

public function FieldWidgetDisplayInterface::isApplicable in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/FieldWidgetDisplayInterface.php \Drupal\entity_browser\FieldWidgetDisplayInterface::isApplicable()

Returns if the FieldWidgetDisplay can be used for the provided field.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type that should be checked.

Return value

bool TRUE if the FieldWidgetDisplay can be used, FALSE otherwise.

1 method overrides FieldWidgetDisplayInterface::isApplicable()
FieldWidgetDisplayBase::isApplicable in src/FieldWidgetDisplayBase.php
Returns if the FieldWidgetDisplay can be used for the provided field.

File

src/FieldWidgetDisplayInterface.php, line 50

Class

FieldWidgetDisplayInterface
Defines the interface for entity browser field widget display plugins.

Namespace

Drupal\entity_browser

Code

public function isApplicable(EntityTypeInterface $entity_type);