public static function SettingGroupInterface::groupMatches in Fasttoggle 8.2
Return whether this setting group includes the provided field definition.
Parameters
$definition: The field definition for which a match should be sought.
Return value
string The name of the group plugin to use for this field definition.
4 methods override SettingGroupInterface::groupMatches()
- CommentCore::groupMatches in src/
Plugin/ SettingGroup/ CommentCore.php - Return whether this setting matches the provided field definition.
- NodeCore::groupMatches in src/
Plugin/ SettingGroup/ NodeCore.php - Return whether this setting matches the provided field definition.
- UserCore::groupMatches in src/
Plugin/ SettingGroup/ UserCore.php - Return whether this setting matches the provided field definition.
- UserRoles::groupMatches in src/
Plugin/ SettingGroup/ UserRoles.php - Return whether this setting matches the provided field definition.
File
- src/
Plugin/ SettingGroup/ SettingGroupInterface.php, line 44 - Provides Drupal\fasttoggle\SettingGroupInterface.
Class
- SettingGroupInterface
- An interface for groups of settings on an object.
Namespace
Drupal\fasttoggle\Plugin\SettingGroupCode
public static function groupMatches($definition);