function convert_bundles_install in Convert Bundles 8
Implements hook_install().
File
- ./
convert_bundles.install, line 11 - Contains install and update functions for Convert Bundles.
Code
function convert_bundles_install() {
foreach (\Drupal::entityTypeManager()
->getDefinitions() as $entity_type_machine_name => $entity_type) {
_create_action($entity_type_machine_name, $entity_type
->getLabel());
}
}