public function SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.2 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.3 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.4 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.5 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.6 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.7 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 8.8 modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 10.0.x modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 10.1.x modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- 10.2.x modules/custom/social_file_private/src/SocialFilePrivateTextEditorConfigOverride.php \Drupal\social_file_private\SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
Get all the editors/input formats we need to protect.
@todo Retrieve the input formats programmatically.
Note: this list is now fixed, but an error will be shown in the status report when there are text editors using public scheme.
Return value
array Returns an array containing config_names.
1 call to SocialFilePrivateTextEditorConfigOverride::getTextEditorsToProtect()
- SocialFilePrivateTextEditorConfigOverride::loadOverrides in modules/
custom/ social_file_private/ src/ SocialFilePrivateTextEditorConfigOverride.php - Returns config overrides.
File
- modules/
custom/ social_file_private/ src/ SocialFilePrivateTextEditorConfigOverride.php, line 48
Class
- SocialFilePrivateTextEditorConfigOverride
- Class SocialFilePrivateTextEditorConfigOverride.
Namespace
Drupal\social_file_privateCode
public function getTextEditorsToProtect() {
$config_names = [
'editor.editor.basic_html',
'editor.editor.full_html',
];
return $config_names;
}