refactor: replace "embeddable-player" occurrences to "embed"

This commit is contained in:
Yassine Doghri 2021-10-20 14:22:58 +00:00
commit 025b2f42e6
59 changed files with 122 additions and 239 deletions

View file

@ -85,11 +85,8 @@ class PodcastPlatformController extends BaseController
'is_visible' =>
array_key_exists('visible', $podcastPlatform) &&
$podcastPlatform['visible'] === 'yes',
'is_on_embeddable_player' =>
array_key_exists(
'on_embeddable_player',
$podcastPlatform,
) && $podcastPlatform['on_embeddable_player'] === 'yes',
'is_on_embed' =>
array_key_exists('on_embed', $podcastPlatform,) && $podcastPlatform['on_embed'] === 'yes',
];
}