public static function UserCore::groupMatches in Fasttoggle 8.2
Return whether this setting matches the provided field definition.
Parameters
$definition: The field definition for which a match is being sought.
Return value
boolean Whether this plugin handles the definition.
Overrides SettingGroupInterface::groupMatches
File
- src/
Plugin/ SettingGroup/ UserCore.php, line 39 - Fasttoggle User Status
Class
- UserCore
- Abstract interface for settings. Plugin strings are used for quick filtering without the need to instantiate the class.
Namespace
Drupal\fasttoggle\Plugin\SettingGroupCode
public static function groupMatches($definition) {
return $definition
->getProvider() == 'user' && $definition
->getName() !== 'role';
}