You are here

public static function DiffGeneratorPluginBase::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.

Overrides DiffGeneratorInterface::isApplicable

File

modules/entity_share_diff/src/DiffGenerator/DiffGeneratorPluginBase.php, line 113

Class

DiffGeneratorPluginBase
Base class for Diff plugins.

Namespace

Drupal\entity_share_diff\DiffGenerator

Code

public static function isApplicable(FieldStorageDefinitionInterface $field_definition) {
  return TRUE;
}