Version 1
[yaffs-website] / web / core / modules / action / action.views_execution.inc
diff --git a/web/core/modules/action/action.views_execution.inc b/web/core/modules/action/action.views_execution.inc
new file mode 100644 (file)
index 0000000..71b8eeb
--- /dev/null
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * @file
+ * Provides views runtime hooks for action.module.
+ */
+
+/**
+ * Implements hook_views_form_substitutions().
+ */
+function action_views_form_substitutions() {
+  $select_all = [
+    '#type' => 'checkbox',
+    '#default_value' => FALSE,
+    '#attributes' => ['class' => ['action-table-select-all']],
+  ];
+  return [
+    '<!--action-bulk-form-select-all-->' => drupal_render($select_all),
+  ];
+}