_filter_html_image_secure_process example


class FilterHtmlImageSecure extends FilterBase {

  /** * {@inheritdoc} */
  public function process($text$langcode) {
    return new FilterProcessResult(_filter_html_image_secure_process($text));
  }

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

}
Home | Imprint | This part of the site doesn't use cookies.