public function ProviderInterface::getProposals in Authorization 8
Get the proposals for this users.
Parameters
\Drupal\user\UserInterface $user: The user to act upon.
Return value
array Relevant proposals.
1 method overrides ProviderInterface::getProposals()
- Dummy::getProposals in tests/
modules/ authorization_test/ src/ Plugin/ authorization/ Provider/ Dummy.php - Get the proposals for this users.
File
- src/
Provider/ ProviderInterface.php, line 37
Class
- ProviderInterface
- Defines an interface for Authorization provider plugins.
Namespace
Drupal\authorization\ProviderCode
public function getProposals(UserInterface $user) : array;