public function RolesConditionCreator::getNewConditionLabel in Block Visibility Groups 8
Get the label when creating a new condition.
Return value
string A new condition label.
Overrides ConditionCreatorInterface::getNewConditionLabel
File
- block_visibility_groups_admin/
src/ Plugin/ ConditionCreator/ RolesConditionCreator.php, line 21
Class
- RolesConditionCreator
- A condition creator to be used in creating user role condition.
Namespace
Drupal\block_visibility_groups_admin\Plugin\ConditionCreatorCode
public function getNewConditionLabel() {
return $this
->t('Roles');
}