You are here

public function ProviderInterface::filterProposals in Authorization 8

Provider-side filtering.

Parameters

array $proposals: Available proposals.

array $providerMapping: What the proposal should be filtered against in the provider.

Return value

array Filtered proposals.

1 method overrides ProviderInterface::filterProposals()
Dummy::filterProposals in tests/modules/authorization_test/src/Plugin/authorization/Provider/Dummy.php
Provider-side filtering.

File

src/Provider/ProviderInterface.php, line 26

Class

ProviderInterface
Defines an interface for Authorization provider plugins.

Namespace

Drupal\authorization\Provider

Code

public function filterProposals(array $proposals, array $providerMapping) : array;