You are here

public function UserRestrictionTypeBase::getLabel in User restrictions 8

Get the plugin label.

Return value

string The plugin label.

Overrides UserRestrictionTypeInterface::getLabel

File

src/Plugin/UserRestrictionType/UserRestrictionTypeBase.php, line 134

Class

UserRestrictionTypeBase

Namespace

Drupal\user_restrictions\Plugin\UserRestrictionType

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}