You are here

public property MpacSelection::$group in Multi-path autocomplete 8

The selection plugin group.

This property is used to allow selection plugins to target a specific type while also inheriting the code of an existing selection plugin. For example, if we want to override the NodeSelection from the 'default' selection type, we can define the annotation of a new plugin as follows:


id = "node_advanced",
types = {"node"},
group = "default",
weight = 11

Type: string

File

lib/Drupal/mpac/Annotation/MpacSelection.php, line 51
Contains \Drupal\entity_reference\Annotation\MpacSelection.

Class

MpacSelection
Defines a MpacSelection annotation object.

Namespace

Drupal\mpac\Annotation

Code

public $group;