public static function ParagraphsBehaviorInterface::isApplicable

Returns if the plugin can be used for the provided Paragraphs type.

Parameters

\Drupal\paragraphs\Entity\ParagraphsType $paragraphs_type: The Paragraphs type entity that should be checked.

Return value

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

1 method overrides ParagraphsBehaviorInterface::isApplicable()
ParagraphsBehaviorBase::isApplicable in paragraphs/src/ParagraphsBehaviorBase.php
Returns if the plugin can be used for the provided Paragraphs type.

File

paragraphs/src/ParagraphsBehaviorInterface.php, line 110

Class

ParagraphsBehaviorInterface
Provides an interface defining a paragraph behavior.

Namespace

Drupal\paragraphs

Code

public static function isApplicable(ParagraphsType $paragraphs_type);