You are here

public static function FieldComparatorParagraphReference::isApplicable in Conflict 8.2

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

Parameters

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

Return value

bool TRUE if the field comparator can be used, FALSE otherwise.

Overrides FieldComparatorDefault::isApplicable

File

modules/conflict_paragraphs/src/Plugin/Conflict/FieldComparator/FieldComparatorParagraphReference.php, line 268

Class

FieldComparatorParagraphReference
Field comparator plugin implementation for paragraph reference fields.

Namespace

Drupal\conflict_paragraphs\Plugin\Conflict\FieldComparator

Code

public static function isApplicable(FieldDefinitionInterface $field_definition) {
  return ParagraphsWidget::isApplicable($field_definition);
}