You are here

function entity_legal_preprocess_page in Entity Legal 8.2

Same name and namespace in other branches
  1. 7.2 entity_legal.module \entity_legal_preprocess_page()
  2. 7 entity_legal.module \entity_legal_preprocess_page()
  3. 4.0.x entity_legal.module \entity_legal_preprocess_page()
  4. 3.0.x entity_legal.module \entity_legal_preprocess_page()

Implements template_preprocess_page().

File

./entity_legal.module, line 34
Entity Legal module.

Code

function entity_legal_preprocess_page(&$variable) {

  // Execute Message method plugin.
  \Drupal::service('plugin.manager.entity_legal')
    ->createInstance('message')
    ->execute();
}