You are here

public function ParagraphsTypeInterface::getBehaviorPlugin in Paragraphs 8

Returns an individual plugin instance.

Parameters

string $instance_id: The ID of a behavior plugin instance to return.

Return value

\Drupal\paragraphs\ParagraphsBehaviorInterface A specific feature plugin instance.

1 method overrides ParagraphsTypeInterface::getBehaviorPlugin()
ParagraphsType::getBehaviorPlugin in src/Entity/ParagraphsType.php
Returns an individual plugin instance.

File

src/ParagraphsTypeInterface.php, line 36

Class

ParagraphsTypeInterface
Provides an interface defining a ParagraphsType entity.

Namespace

Drupal\paragraphs

Code

public function getBehaviorPlugin($instance_id);