You are here

public function ParagraphsType::getPluginCollections in Paragraphs 8

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

src/Entity/ParagraphsType.php, line 245

Class

ParagraphsType
Defines the ParagraphsType entity.

Namespace

Drupal\paragraphs\Entity

Code

public function getPluginCollections() {
  return [
    'behavior_plugins' => $this
      ->getBehaviorPlugins(),
  ];
}