You are here

public function UserRestrictionsManager::getErrors in User restrictions 8

Get all error messages.

Return value

string[] List of error messages keyed by restriction type.

Overrides UserRestrictionsManagerInterface::getErrors

File

src/UserRestrictionsManager.php, line 96

Class

UserRestrictionsManager
Defines the user restriction manager.

Namespace

Drupal\user_restrictions

Code

public function getErrors() {
  return $this->errors;
}