You are here

public function ParagraphsType::getEnabledBehaviorPlugins in Paragraphs 8

Retrieves all the enabled plugins.

Return value

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

Overrides ParagraphsTypeInterface::getEnabledBehaviorPlugins

File

src/Entity/ParagraphsType.php, line 238

Class

ParagraphsType
Defines the ParagraphsType entity.

Namespace

Drupal\paragraphs\Entity

Code

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