comparison core/modules/views/src/ViewExecutable.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents c2387f117808
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
112 public $total_rows = NULL; 112 public $total_rows = NULL;
113 113
114 /** 114 /**
115 * Attachments to place before the view. 115 * Attachments to place before the view.
116 * 116 *
117 * @var array() 117 * @var array
118 */ 118 */
119 public $attachment_before = []; 119 public $attachment_before = [];
120 120
121 /** 121 /**
122 * Attachments to place after the view. 122 * Attachments to place after the view.
1520 } 1520 }
1521 1521
1522 // Let modules modify the view just prior to rendering it. 1522 // Let modules modify the view just prior to rendering it.
1523 $module_handler->invokeAll('views_pre_render', [$this]); 1523 $module_handler->invokeAll('views_pre_render', [$this]);
1524 1524
1525 // Let the themes play too, because pre render is a very themey thing. 1525 // Let the themes play too, because prerender is a very themey thing.
1526 foreach ($themes as $theme_name) { 1526 foreach ($themes as $theme_name) {
1527 $function = $theme_name . '_views_pre_render'; 1527 $function = $theme_name . '_views_pre_render';
1528 if (function_exists($function)) { 1528 if (function_exists($function)) {
1529 $function($this); 1529 $function($this);
1530 } 1530 }