You are here

public function MassContactCategory::getGroupings in Mass Contact 8

Gets the recipient category plugin definitions.

Return value

\Drupal\mass_contact\Plugin\MassContact\GroupingMethod\GroupingInterface[] An array of configured selection plugins, keyed by plugin ID.

Overrides MassContactCategoryInterface::getGroupings

1 call to MassContactCategory::getGroupings()
MassContactCategory::getGroupingCategories in src/Entity/MassContactCategory.php
Gets grouping categories for a given plugin.

File

src/Entity/MassContactCategory.php, line 101

Class

MassContactCategory
Defines the Mass contact category entity.

Namespace

Drupal\mass_contact\Entity

Code

public function getGroupings() {
  $this
    ->generateGroupings();
  return $this->groupings;
}