function FilterHtmlImageSecure::tips

Same name and namespace in other branches
  1. 8.9.x core/modules/filter/src/Plugin/Filter/FilterHtmlImageSecure.php \Drupal\filter\Plugin\Filter\FilterHtmlImageSecure::tips()
  2. 10 core/modules/filter/src/Plugin/Filter/FilterHtmlImageSecure.php \Drupal\filter\Plugin\Filter\FilterHtmlImageSecure::tips()
  3. 11.x core/modules/filter/src/Plugin/Filter/FilterHtmlImageSecure.php \Drupal\filter\Plugin\Filter\FilterHtmlImageSecure::tips()

Overrides FilterBase::tips

File

core/modules/filter/src/Plugin/Filter/FilterHtmlImageSecure.php, line 31

Class

FilterHtmlImageSecure
Provides a filter to restrict images to site.

Namespace

Drupal\filter\Plugin\Filter

Code

public function tips($long = FALSE) {
    return $this->t('Only images hosted on this site may be used in <img> tags.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.