You are here

function hook_views_form_substitutions in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 8.3 views.api.php \hook_views_form_substitutions()
  2. 7.3 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.

Related topics

1 invocation of hook_views_form_substitutions()
theme_views_form_views_form in theme/theme.inc
Theme function for a View with form elements: replace the placeholders.

File

docs/docs.php, line 598
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_views_form_substitutions() {
  return array(
    '<!--views-form-example-substitutions-->' => 'Example Substitution',
  );
}