You are here

public static function ParagraphsClassBehavior::isApplicable in Paragraphs Class 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 ParagraphsBehaviorBase::isApplicable

File

src/Plugin/paragraphs/Behavior/ParagraphsClassBehavior.php, line 27

Class

ParagraphsClassBehavior
Custom paragraph wrapper class.

Namespace

Drupal\paragraphs_class\Plugin\paragraphs\Behavior

Code

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