You are here

function paragraphs_update_8022 in Paragraphs 8

Ensure that the parent indexes are added to the revision data table.

File

./paragraphs.install, line 469
Installation hooks for Paragraphs module.

Code

function paragraphs_update_8022() {
  $manager = \Drupal::entityDefinitionUpdateManager();

  // Regenerate entity type indexes.
  $manager
    ->updateEntityType($manager
    ->getEntityType('paragraph'));
}