Search for entityTypeAlter

  1. Search 7.x for entityTypeAlter
  2. Search 8.9.x for entityTypeAlter
  3. Search 10.3.x for entityTypeAlter
  4. Search 11.x for entityTypeAlter
  5. Other projects
Title Object type File name Summary
EntityTypeInfo::entityTypeAlter function core/modules/content_moderation/src/EntityTypeInfo.php Adds Moderation configuration to appropriate entity types.
EntityTypeInfo::entityTypeAlter function core/modules/workspaces/src/EntityTypeInfo.php Removes the 'latest-version' link template provided by Content Moderation.
EntityTypeInfoTest::providerTestEntityTypeAlter function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php Provides test data for testEntityTypeAlter().
EntityTypeInfoTest::testEntityTypeAlter function core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php Tests the correct entity types have moderation added.

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