public static function HelperTrait::disabledProviderSecurityWarning in oEmbed Providers 2.x
Same name and namespace in other branches
- 1.0.x src/Traits/HelperTrait.php \Drupal\oembed_providers\Traits\HelperTrait::disabledProviderSecurityWarning()
- 1.1.x src/Traits/HelperTrait.php \Drupal\oembed_providers\Traits\HelperTrait::disabledProviderSecurityWarning()
Returns a security warning about disabled oEmbed providers.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup An object that, when cast to a string, returns the translated string.
2 calls to HelperTrait::disabledProviderSecurityWarning()
File
- src/
Traits/ HelperTrait.php, line 16
Class
- HelperTrait
- Misc. methods available for all classes to use.
Namespace
Drupal\oembed_providers\TraitsCode
public static function disabledProviderSecurityWarning() {
return t("When a provider is disabled, Media will continue to render its content so long as the provider's definition is returned by Media's Provider Repository.");
}