function paragraphs_entity_type_alter

Implements hook_entity_type_alter().

File

paragraphs/paragraphs.module, line 412
Contains paragraphs.module

Code

function paragraphs_entity_type_alter(array &$entity_types) {

  /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */

  // Remove the handler class for moderation as it is managed by the host.
  $entity_types['paragraph']
    ->setHandlerClass('moderation', '');
}