You are here

entity_export_csv.install in Entity Export CSV 8

Entity Export Csv installation file.

File

entity_export_csv.install
View source
<?php

/**
 * @file
 * Entity Export Csv installation file.
 */

/**
 * Install the new entity export csv config entity.
 */
function entity_export_csv_update_8101() {
  \Drupal::entityTypeManager()
    ->clearCachedDefinitions();
  $entity_type = \Drupal::entityTypeManager()
    ->getDefinition('entity_export_csv');
  \Drupal::entityDefinitionUpdateManager()
    ->installEntityType($entity_type);
}

Functions

Namesort descending Description
entity_export_csv_update_8101 Install the new entity export csv config entity.