function taxonomy_entity_type_alter
Implements hook_entity_type_alter().
File
-
core/
modules/ taxonomy/ taxonomy.module, line 86
Code
function taxonomy_entity_type_alter(array &$entity_types) {
// @todo Moderation is disabled for taxonomy terms until integration is
// enabled for them.
// @see https://www.drupal.org/project/drupal/issues/3047110
$entity_types['taxonomy_term']->setHandlerClass('moderation', '');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.