You are here

public function MassContactCategory::setSelected in Mass Contact 8

Sets category to be selected by default.

Parameters

bool $selected: Set to TRUE if the category should be selected by default.

Overrides MassContactCategoryInterface::setSelected

File

src/Entity/MassContactCategory.php, line 123

Class

MassContactCategory
Defines the Mass contact category entity.

Namespace

Drupal\mass_contact\Entity

Code

public function setSelected($selected) {
  $this->selected = $selected;
}