public function ConsumerPluginBase::consumerTargetCreationAllowed in Authorization 8
Are we allowed to create things.
Note that this only enables the *option* for users to choose this in the consumer configuration of the profile.
Return value
bool Whether the consumer provides creating targets.
Overrides ConsumerInterface::consumerTargetCreationAllowed
File
- src/
Consumer/ ConsumerPluginBase.php, line 31
Class
- ConsumerPluginBase
- Base class for Authorization consumer plugins.
Namespace
Drupal\authorization\ConsumerCode
public function consumerTargetCreationAllowed() : bool {
return $this->allowConsumerTargetCreation;
}