You are here

public function ParagraphsTypeInterface::hasEnabledBehaviorPlugin in Paragraphs 8

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 src/Entity/ParagraphsType.php
Returns TRUE if $plugin_id is enabled on this ParagraphType Entity.

File

src/ParagraphsTypeInterface.php, line 79

Class

ParagraphsTypeInterface
Provides an interface defining a ParagraphsType entity.

Namespace

Drupal\paragraphs

Code

public function hasEnabledBehaviorPlugin($plugin_id);