You are here

public static function SettingInterface::matches 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.

9 methods override SettingInterface::matches()
CommentStatus::matches in src/Plugin/Setting/CommentStatus.php
Return whether this setting matches the provided field definition.
NodeBooleanField::matches in src/Plugin/Setting/NodeBooleanField.php
Return whether this setting matches the provided field definition.
NodeComments::matches in src/Plugin/Setting/NodeComments.php
Return whether this setting matches the provided field definition.
NodeListField::matches in src/Plugin/Setting/NodeListField.php
Return whether this setting matches the provided field definition.
NodePromotion::matches in src/Plugin/Setting/NodePromotion.php
Return whether this setting matches the provided field definition.

... See full list

File

src/Plugin/Setting/SettingInterface.php, line 144
Provides Drupal\fasttoggle\SettingInterface.

Class

SettingInterface
Interface for settings. Plugin strings are used for quick filtering without the need to instantiate the class.

Namespace

Drupal\fasttoggle\Plugin\Setting

Code

public static function matches($definition);