Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentEntityStorageInterface.php file core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php
ContentEntityStorageInterface::createWithSampleValues function core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php Creates an entity with sample field values.
ContentEntityTest class core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests the entity content source plugin.
ContentEntityTest.php file core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
ContentEntityTest::$bundle property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The bundle used in this test.
ContentEntityTest::$fieldName property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The name of the field used in this test.
ContentEntityTest::$migrationPluginManager property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The migration plugin manager.
ContentEntityTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Modules to install.
ContentEntityTest::$user property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The test user.
ContentEntityTest::$vocabulary property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php The vocabulary ID.
ContentEntityTest::assertIds function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Helper to assert IDs structure.
ContentEntityTest::migrationConfigurationProvider function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Data provider for several test methods.
ContentEntityTest::migrationDefinition function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Get a migration definition.
ContentEntityTest::setUp function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
ContentEntityTest::testFileSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests file source plugin.
ContentEntityTest::testMediaSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests media source plugin.
ContentEntityTest::testNodeSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests node source plugin.
ContentEntityTest::testTermSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests term source plugin.
ContentEntityTest::testUserSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php Tests user source plugin.
ContentEntityType class core/lib/Drupal/Core/Entity/ContentEntityType.php Provides an implementation of a content entity type and its metadata.
ContentEntityType class core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php Defines a content entity type annotation object.
ContentEntityType.php file core/lib/Drupal/Core/Entity/ContentEntityType.php
ContentEntityType.php file core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
ContentEntityType::$entity_type_class property core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php The class used to represent the entity type.
ContentEntityType::$group property core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php The group machine name.
ContentEntityType::$revision_metadata_keys property core/lib/Drupal/Core/Entity/ContentEntityType.php
ContentEntityType::checkStorageClass function core/lib/Drupal/Core/Entity/ContentEntityType.php
ContentEntityType::get function core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php Gets the value of an annotation.
ContentEntityType::getConfigDependencyKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets the key that is used to store configuration dependencies.
ContentEntityType::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets a specific entity revision metadata key.
ContentEntityType::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityType.php Gets an array of entity revision metadata keys.
ContentEntityType::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Indicates if a given entity revision metadata key exists.
ContentEntityType::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Sets a revision metadata key.
ContentEntityType::__construct function core/lib/Drupal/Core/Entity/ContentEntityType.php Constructs a new EntityType.
ContentEntityTypeInterface interface core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Provides an interface for a content entity type and its metadata.
ContentEntityTypeInterface.php file core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php
ContentEntityTypeInterface::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets a specific entity revision metadata key.
ContentEntityTypeInterface::getRevisionMetadataKeys function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Gets an array of entity revision metadata keys.
ContentEntityTypeInterface::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Indicates if a given entity revision metadata key exists.
ContentEntityTypeInterface::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Sets a revision metadata key.
ContentImportTest class core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php @covers \Drupal\Core\DefaultContent\Importer
@group DefaultContent
@group Recipe
ContentImportTest.php file core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::$contentDir property core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::$defaultTheme property core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php The theme to install as the default for testing.
ContentImportTest::$modules property core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Modules to install.
ContentImportTest::assertContentWasImported function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Asserts that the default content was imported as expected.
ContentImportTest::providerImportEntityThatAlreadyExists function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::setUp function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::testDirectContentImport function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests importing content directly, via the API.
ContentImportTest::testEntityValidationIsTriggered function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests that the importer validates entities before saving them.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.