public function OwnOrAdminConstraint::getPermission in Simple OAuth (OAuth2) & OpenID Connect 8
Gets the permission.
Return value
string The permission.
Overrides OwnOrAdminConstraintInterface::getPermission
File
- src/
Plugin/ Validation/ Constraint/ OwnOrAdminConstraint.php, line 38
Class
- OwnOrAdminConstraint
- Class OwnOrAdminConstraint.
Namespace
Drupal\simple_oauth\Plugin\Validation\ConstraintCode
public function getPermission() {
return $this->permission;
}