You are here

convert_bundles.install in Convert Bundles 8

Contains install and update functions for Convert Bundles.

File

convert_bundles.install
View source
<?php

/**
 * @file
 * Contains install and update functions for Convert Bundles.
 */

/**
 * Implements hook_install().
 */
function convert_bundles_install() {
  foreach (\Drupal::entityTypeManager()
    ->getDefinitions() as $entity_type_machine_name => $entity_type) {
    _create_action($entity_type_machine_name, $entity_type
      ->getLabel());
  }
}

Functions

Namesort descending Description
convert_bundles_install Implements hook_install().