class Uri
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php \Drupal\Core\TypedData\Plugin\DataType\Uri
- 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php \Drupal\Core\TypedData\Plugin\DataType\Uri
- 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Uri.php \Drupal\Core\TypedData\Plugin\DataType\Uri
The URI data type.
The plain value of a URI is an absolute URI represented as PHP string.
Plugin annotation
@DataType(
id = "uri",
label = @Translation("URI")
)
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\PrimitiveBase extends \Drupal\Core\TypedData\TypedData implements \Drupal\Core\TypedData\PrimitiveInterface
- class \Drupal\Core\TypedData\Plugin\DataType\StringData extends \Drupal\Core\TypedData\PrimitiveBase implements \Drupal\Core\TypedData\Type\StringInterface
- class \Drupal\Core\TypedData\Plugin\DataType\Uri extends \Drupal\Core\TypedData\Plugin\DataType\StringData implements \Drupal\Core\TypedData\Type\UriInterface
- class \Drupal\Core\TypedData\Plugin\DataType\StringData extends \Drupal\Core\TypedData\PrimitiveBase implements \Drupal\Core\TypedData\Type\StringInterface
- class \Drupal\Core\TypedData\PrimitiveBase extends \Drupal\Core\TypedData\TypedData implements \Drupal\Core\TypedData\PrimitiveInterface
Expanded class hierarchy of Uri
1 file declares its use of Uri
- PrimitiveTypeConstraintValidatorTest.php in core/
tests/ Drupal/ Tests/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidatorTest.php
53 string references to 'Uri'
- CommentAttributesTest::testCommentReplyOfRdfaMarkup in core/
modules/ rdf/ tests/ src/ Functional/ CommentAttributesTest.php - Tests RDF comment replies.
- CommentAttributesTest::_testBasicCommentRdfaMarkup in core/
modules/ rdf/ tests/ src/ Functional/ CommentAttributesTest.php - Helper function for testCommentRdfaMarkup().
- ContentEntityTest::testFileSource in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ ContentEntityTest.php - Tests file source plugin.
- core.data_types.schema.yml in core/
config/ schema/ core.data_types.schema.yml - core/config/schema/core.data_types.schema.yml
- core.data_types.schema.yml in core/
config/ schema/ core.data_types.schema.yml - core/config/schema/core.data_types.schema.yml
File
-
core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ Uri.php, line 17
Namespace
Drupal\Core\TypedData\Plugin\DataTypeView source
class Uri extends StringData implements UriInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.