public function ConsumerInterface::createConsumerTarget in Authorization 8
Create authorization consumer targets.
Parameters
string $mapping: What grant to create.
2 methods override ConsumerInterface::createConsumerTarget()
- DrupalRolesConsumer::createConsumerTarget in authorization_drupal_roles/
src/ Plugin/ authorization/ Consumer/ DrupalRolesConsumer.php - Create authorization consumer targets.
- Dummy::createConsumerTarget in tests/
modules/ authorization_test/ src/ Plugin/ authorization/ Consumer/ Dummy.php - Create authorization consumer targets.
File
- src/
Consumer/ ConsumerInterface.php, line 52
Class
- ConsumerInterface
- Defines an interface for Authorization consumer plugins.
Namespace
Drupal\authorization\ConsumerCode
public function createConsumerTarget(string $mapping) : void;