entity_test_revlog.install

Install, update and uninstall functions for the entity_test_revlog module.

File

core/modules/system/tests/modules/entity_test_revlog/entity_test_revlog.install

View source
<?php


/**
 * @file
 * Install, update and uninstall functions for the entity_test_revlog module.
 */

/**
 * Install the 'entity_test_mul_revlog_pub' entity type.
 */
function entity_test_revlog_update_8801() {
    $entity_type = \Drupal::entityTypeManager()->getDefinition('entity_test_mul_revlog_pub');
    \Drupal::entityDefinitionUpdateManager()->installEntityType($entity_type);
}

Functions

Title Deprecated Summary
entity_test_revlog_update_8801 Install the 'entity_test_mul_revlog_pub' entity type.

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