You are here

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

Overrides ParagraphsBehaviorInterface::isApplicable

1 method overrides ParagraphsBehaviorBase::isApplicable()
TestBoldTextBehavior::isApplicable in tests/modules/paragraphs_test/src/Plugin/paragraphs/Behavior/TestBoldTextBehavior.php
Returns if the plugin can be used for the provided Paragraphs type.

File

src/ParagraphsBehaviorBase.php, line 104

Class

ParagraphsBehaviorBase

Namespace

Drupal\paragraphs

Code

public static function isApplicable(ParagraphsType $paragraphs_type) {
  return TRUE;
}