public static function ParagraphsBehaviorInterface::isApplicable in Paragraphs 8
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 src/
ParagraphsBehaviorBase.php - Returns if the plugin can be used for the provided Paragraphs type.
File
- src/
ParagraphsBehaviorInterface.php, line 113
Class
- ParagraphsBehaviorInterface
- Provides an interface defining a paragraph behavior.
Namespace
Drupal\paragraphsCode
public static function isApplicable(ParagraphsType $paragraphs_type);