public function ParagraphsTypeInterface::hasEnabledBehaviorPlugin

Returns TRUE if $plugin_id is enabled on this ParagraphType Entity.

Parameters

string $plugin_id: The plugin id, as specified in the plugin annotation details.

Return value

bool TRUE if the plugin is enabled, FALSE otherwise.

1 method overrides ParagraphsTypeInterface::hasEnabledBehaviorPlugin()
ParagraphsType::hasEnabledBehaviorPlugin in paragraphs/src/Entity/ParagraphsType.php
Returns TRUE if $plugin_id is enabled on this ParagraphType Entity.

File

paragraphs/src/ParagraphsTypeInterface.php, line 79

Class

ParagraphsTypeInterface
Provides an interface defining a ParagraphsType entity.

Namespace

Drupal\paragraphs

Code

public function hasEnabledBehaviorPlugin($plugin_id);