You are here

public function UserRestrictionsManagerInterface::matchesRestrictions in User restrictions 8

Check if a the given data matches any restrictions.

Parameters

array $data: Data to check.

Return value

bool TRUE if the data matches a restriction, FALSE otherwise.

1 method overrides UserRestrictionsManagerInterface::matchesRestrictions()
UserRestrictionsManager::matchesRestrictions in src/UserRestrictionsManager.php
Check if a the given data matches any restrictions.

File

src/UserRestrictionsManagerInterface.php, line 19

Class

UserRestrictionsManagerInterface
Defines the UserRestrictionManager interface.

Namespace

Drupal\user_restrictions

Code

public function matchesRestrictions(array $data);