interface PageProcessorInterface in Mini site 8
Interface PageProcessorInterface.
@package Drupal\minisite
Hierarchy
- interface \Drupal\minisite\PageProcessorInterface
 
Expanded class hierarchy of PageProcessorInterface
All classes that implement PageProcessorInterface
File
- src/
PageProcessorInterface.php, line 10  
Namespace
Drupal\minisiteView source
interface PageProcessorInterface {
  /**
   * Extensions to be considered as non-HTML documents.
   *
   * Links for such documents may be rewritten in a different way than other
   * files.
   */
  const EXTENSIONS_NON_HTML_DOCUMENTS = 'pdf doc docx ppt pptx xls xlsx tif xml txt';
  /**
   * Process document.
   */
  public function process();
  /**
   * Get content of the document being processed.
   *
   * @return string
   *   The document content as HTML.
   */
  public function content();
  /**
   * Check if the provxided URL is a non-HTML document.
   *
   * @param string $url
   *   URL to assess.
   *
   * @return string
   *   TRUE if the provided URL is a non-HTML document, FALSE otherwise.
   */
  public static function urlIsDocumentFile($url);
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            PageProcessorInterface:: | 
                  public | function | Get content of the document being processed. | 1 | 
| 
            PageProcessorInterface:: | 
                  constant | Extensions to be considered as non-HTML documents. | ||
| 
            PageProcessorInterface:: | 
                  public | function | Process document. | 1 | 
| 
            PageProcessorInterface:: | 
                  public static | function | Check if the provxided URL is a non-HTML document. | 1 |