Full ELMS Learning Network documentation
function hook_views_form_substitutions
cis7 views.api.php | hook_views_form_substitutions() |
cle7 views.api.php | hook_views_form_substitutions() |
elmsmedia7 views.api.php | hook_views_form_substitutions() |
icor7 views.api.php | hook_views_form_substitutions() |
meedjum_blog7 views.api.php | hook_views_form_substitutions() |
mooc7 views.api.php | hook_views_form_substitutions() |
This hook is called to get a list of placeholders and their substitutions, used when preprocessing a View with form elements.
Return value
An array with keys being the strings to replace, and the values the strings to replace them with.
Related topics
1 function implements hook_views_form_substitutions()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- views_bulk_operations_views_form_substitutions in sites/
all/ modules/ ulmus/ views_bulk_operations/ views_bulk_operations.module - Implements hook_views_form_substitutions().
1 invocation of hook_views_form_substitutions()
- theme_views_form_views_form in sites/
all/ modules/ ulmus/ views/ theme/ theme.inc - Theme function for a View with form elements: replace the placeholders.
File
- sites/
all/ modules/ ulmus/ views/ views.api.php, line 810 - Describe hooks provided by the Views module.
Code
function hook_views_form_substitutions() {
return array(
'<!--views-form-example-substitutions-->' => 'Example Substitution',
);
}