public static function SettingsForm::siteWideSettingsForm in Markdown 8.2
Indicates whether user is currently viewing the site-wide settings form.
Return value
bool TRUE or FALSE
Deprecated
in markdown:8.x-2.0 and is removed from markdown:3.0.0. No replacement. Check route name yourself.
See also
https://www.drupal.org/project/markdown/issues/3142418
File
- src/
Form/ SettingsForm.php, line 84
Class
- SettingsForm
- Markdown Settings Form.
Namespace
Drupal\markdown\FormCode
public static function siteWideSettingsForm() {
return \Drupal::routeMatch()
->getRouteName() === 'markdown.settings';
}