You are here

public function Profile::getPluginCollections in Linkit 8.5

Same name and namespace in other branches
  1. 8.4 src/Entity/Profile.php \Drupal\linkit\Entity\Profile::getPluginCollections()

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/Profile.php, line 152

Class

Profile
Defines the linkit profile entity.

Namespace

Drupal\linkit\Entity

Code

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