public function ParagraphsType::getEnabledBehaviorPlugins

Retrieves all the enabled plugins.

Return value

\Drupal\paragraphs\ParagraphsBehaviorInterface[] Array of the enabled plugins as instances.

Overrides ParagraphsTypeInterface::getEnabledBehaviorPlugins

File

paragraphs/src/Entity/ParagraphsType.php, line 241

Class

ParagraphsType
Defines the ParagraphsType entity.

Namespace

Drupal\paragraphs\Entity

Code

public function getEnabledBehaviorPlugins() {
  return $this
    ->getBehaviorPlugins()
    ->getEnabled();
}