public function MassContactCategory::setGroupings in Mass Contact 8
Sets grouping definitions.
Parameters
\Drupal\mass_contact\Plugin\MassContact\GroupingMethod\GroupingInterface[] $groupings: The grouping configurations, keyed by plugin ID.
Overrides MassContactCategoryInterface::setGroupings
File
- src/
Entity/ MassContactCategory.php, line 109
Class
- MassContactCategory
- Defines the Mass contact category entity.
Namespace
Drupal\mass_contact\EntityCode
public function setGroupings(array $groupings) {
$this->recipients = $groupings;
}