private function validateCustomTagsConfiguration(
        ContainerInterface $container,
        array $enabledCustomTags
    ) {
        $definedCustomTags = array_keys(
            $container->getParameter(EzPublishCoreExtension::RICHTEXT_CUSTOM_TAGS_PARAMETER)
        );
        foreach ($enabledCustomTags as $customTagName) {
            if (!in_array($customTagName, $definedCustomTags)) {
                throw new InvalidConfigurationException(
                    "Unknown RichText Custom Tag '{$customTagName}'"
                );
            }
        }
    }
private function validateCustomTagsConfiguration(
        ContainerInterface $container,
        array $enabledCustomTags
    ) {
        $definedCustomTags = array_keys(
            $container->getParameter(EzPublishCoreExtension::RICHTEXT_CUSTOM_TAGS_PARAMETER)
        );
        foreach ($enabledCustomTags as $customTagName) {
            if (!in_array($customTagName, $definedCustomTags)) {
                throw new InvalidConfigurationException(
                    "Unknown RichText Custom Tag '{$customTagName}'"
                );
            }
        }
    }
private function validateCustomTagsConfiguration ( ContainerInterface $ container , array $ enabledCustomTags ) { $ definedCustomTags = array_keys ( $ container -> getParameter ( EzPublishCoreExtension :: RICHTEXT_CUSTOM_TAGS_PARAMETER ) ) ; foreach ( $ enabledCustomTags as $ customTagName ) { if ( ! in_array ( $ customTagName , $ definedCustomTags ) ) { throw new InvalidConfigurationException ( "Unknown RichText Custom Tag '{$customTagName}'" ) ; } } }
Validate SiteAccess-defined Custom Tags configuration against global one.

@param \Symfony\Component\DependencyInjection\ContainerInterface $container
@param array $enabledCustomTags List of Custom Tags enabled for the current scope/SiteAccess
Validate SiteAccess - defined Custom Tags configuration against global one .