You are here

function groupmedia_media_bundle_insert in Group Media 8

Implements hook_ENTITY_TYPE_insert().

File

./groupmedia.module, line 13

Code

function groupmedia_media_bundle_insert(MediaBundleInterface $mediaBundle) {
  \Drupal::service('plugin.manager.group_content_enabler')
    ->clearCachedDefinitions();
}