class Any
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php \Drupal\Core\TypedData\Plugin\DataType\Any
- 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php \Drupal\Core\TypedData\Plugin\DataType\Any
- 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Any.php \Drupal\Core\TypedData\Plugin\DataType\Any
The "any" data type.
The "any" data type does not implement a list or complex data interface, nor is it mappable to any primitive type. Thus, it may contain any PHP data for which no further metadata is available.
Plugin annotation
@DataType(
id = "any",
label = @Translation("Any data")
)
Hierarchy
- class \Drupal\Core\TypedData\TypedData implements \Drupal\Core\TypedData\TypedDataInterface, \Drupal\Component\Plugin\PluginInspectionInterface uses \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\TypedData\TypedDataTrait
- class \Drupal\Core\TypedData\Plugin\DataType\Any extends \Drupal\Core\TypedData\TypedData
Expanded class hierarchy of Any
20 string references to 'Any'
- ContextDefinition::dataTypeMatches in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Checks if this definition's data type matches that of the given context.
- ContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextDefinitionIsSatisfiedTest.php - Provides test data for ::testIsSatisfiedBy().
- ContextDefinitionTest::testIsSatisfiedBy in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ ContextDefinitionTest.php - @covers ::isSatisfiedBy
- ContextHandlerTest::providerTestCheckRequirements in core/
tests/ Drupal/ Tests/ Core/ Plugin/ ContextHandlerTest.php - Provides data for testCheckRequirements().
- ContextHandlerTest::providerTestGetMatchingContexts in core/
tests/ Drupal/ Tests/ Core/ Plugin/ ContextHandlerTest.php - Provides data for testGetMatchingContexts().
File
-
core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ Any.php, line 19
Namespace
Drupal\Core\TypedData\Plugin\DataTypeView source
class Any extends TypedData {
/**
* The data value.
*
* @var mixed
*/
protected $value;
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.