public function AuthorizationProfile::hasValidProvider in Authorization 8
Does the profile have valid providers?
Return value
bool Provider valid.
File
- src/
Entity/ AuthorizationProfile.php, line 210
Class
- AuthorizationProfile
- Defines the Authorization profile entity.
Namespace
Drupal\authorization\EntityCode
public function hasValidProvider() : bool {
if ($this->provider_plugin_manager
->getDefinition($this
->getProviderId(), FALSE)) {
return TRUE;
}
return FALSE;
}