You are here

public function ConsumerInterface::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.

1 method overrides ConsumerInterface::consumerTargetCreationAllowed()
ConsumerPluginBase::consumerTargetCreationAllowed in src/Consumer/ConsumerPluginBase.php
Are we allowed to create things.

File

src/Consumer/ConsumerInterface.php, line 44

Class

ConsumerInterface
Defines an interface for Authorization consumer plugins.

Namespace

Drupal\authorization\Consumer

Code

public function consumerTargetCreationAllowed() : bool;