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 10.3.x for content
  5. Other projects
Title Object type File name Summary
ContentEntityType::__construct function core/lib/Drupal/Core/Entity/Attribute/ContentEntityType.php Constructs a plugin attribute object.
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.
ContentExportCommand class core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php Exports a single content entity in YAML format.
ContentExportCommand.php file core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php
ContentExportCommand::configure function core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php
ContentExportCommand::execute function core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php
ContentExportCommand::__construct function core/lib/Drupal/Core/DefaultContent/ContentExportCommand.php
ContentExportTest class core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests exporting content in YAML format.
ContentExportTest.php file core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php
ContentExportTest::$adminUser property core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php The user account which is doing the content import and export.
ContentExportTest::$contentDir property core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php The directory where the default content is located.
ContentExportTest::$defaultTheme property core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php The theme to install as the default for testing.
ContentExportTest::$finder property core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Scans for content in the fixture.
ContentExportTest::recursiveSortByKey function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Recursively sorts an array by key.
ContentExportTest::setUp function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php
ContentExportTest::testCircularDependency function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests that the exporter handles circular dependencies gracefully.
ContentExportTest::testExportContent function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Ensures that all imported content can be exported properly.
ContentExportTest::testExportedPasswordIsPreserved function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests that an exported user account can be logged in with after import.
ContentExportTest::testExportFileEntityWithMissingPhysicalFile function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests exporting file entities without an accompanying physical file.
ContentExportTest::testExportSingleEntityToDirectory function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests exporting a single entity to a directory with attachments.
ContentExportTest::testExportWithDependencies function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests exporting a piece of content with its dependencies.
ContentExportTest::testMissingDependenciesAreLogged function core/tests/Drupal/FunctionalTests/DefaultContent/ContentExportTest.php Tests that the exporter handles missing dependencies gracefully.
ContentImportTest class core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests Content Import.
ContentImportTest.php file core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::$adminAccount property core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php The admin account.
ContentImportTest::$contentDir property core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php The directory with the source data.
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::testDirectContentImportWithDifferentUser function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests importing content directly, via the API, with a different user.
ContentImportTest::testEntityValidationIsTriggered function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests that the importer validates entities before saving them.
ContentImportTest::testImportEntityThatAlreadyExists function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests import entity that already exists.
ContentImportTest::testPreImportEvent function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php Tests that the pre-import event allows skipping certain entities.
ContentLanguageSettings class core/modules/language/src/Entity/ContentLanguageSettings.php Defines the ContentLanguageSettings entity.
ContentLanguageSettings.php file core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettings::$default_langcode property core/modules/language/src/Entity/ContentLanguageSettings.php The default language code.
ContentLanguageSettings::$id property core/modules/language/src/Entity/ContentLanguageSettings.php The id. Combination of $target_entity_type_id.$target_bundle.
ContentLanguageSettings::$language_alterable property core/modules/language/src/Entity/ContentLanguageSettings.php Indicates if the language is alterable or not.
ContentLanguageSettings::$target_bundle property core/modules/language/src/Entity/ContentLanguageSettings.php The bundle (machine name).
ContentLanguageSettings::$target_entity_type_id property core/modules/language/src/Entity/ContentLanguageSettings.php The entity type ID (machine name).
ContentLanguageSettings::calculateDependencies function core/modules/language/src/Entity/ContentLanguageSettings.php Calculates dependencies and stores them in the dependency property.
ContentLanguageSettings::getAllValidDefaultLangcodes function core/modules/language/src/Entity/ContentLanguageSettings.php Returns all valid values for the `default_langcode` property.

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