public function Flag::getPluginCollections in Flag 8.4
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/ Flag.php, line 246
Class
- Flag
- Provides the Flag configuration entity.
Namespace
Drupal\flag\EntityCode
public function getPluginCollections() {
return [
'flagTypeConfig' => $this
->getFlagTypeCollection(),
'linkTypeConfig' => $this
->getLinkTypeCollection(),
];
}