'click sortable' => FALSE,
],
];
-
- if (function_exists('video_embed_media_media_bundle_insert')) {
+ if (\Drupal::moduleHandler()->moduleExists('video_embed_media')) {
$data['media_field_data']['blazy_media'] = [
'title' => 'Blazy',
'help' => t('Displays a preview of a Media using Blazy, if applicable.'),