You are here

public static function DiffGeneratorInterface::isApplicable in Entity Share 8.3

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

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $field_definition: The field definition that should be checked.

Return value

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

1 method overrides DiffGeneratorInterface::isApplicable()
DiffGeneratorPluginBase::isApplicable in modules/entity_share_diff/src/DiffGenerator/DiffGeneratorPluginBase.php
Returns if the plugin can be used for the provided field.

File

modules/entity_share_diff/src/DiffGenerator/DiffGeneratorInterface.php, line 53

Class

DiffGeneratorInterface
Builds a diff from field item list.

Namespace

Drupal\entity_share_diff\DiffGenerator

Code

public static function isApplicable(FieldStorageDefinitionInterface $field_definition);