accessibility-test.tpl.php

  1. cis7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  2. cle7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  3. ecd7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  4. elmsmedia7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  5. harmony7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  6. icor7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  7. meedjum_blog7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
  8. mooc7 sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php

A basic template for model entities

Available variables:

  • $content: An array of comment items. Use render($content) to print them all, or print a subset such as render($content['field_example']). Use hide($content['field_example']) to temporarily suppress the printing of a given element.
  • $title: The name of the model
  • $url: The standard URL for viewing a model entity
  • $page: TRUE if this is the main view page $url points too.
  • $classes: String of classes that can be used to style contextually through CSS. It can be manipulated through the variable $classes_array from preprocess functions. By default the following classes are available, where the parts enclosed by {} are replaced by the appropriate values:

    • entity-profile
    • model-{TYPE}

Other variables:

  • $classes_array: Array of html class attribute values. It is flattened into a string within the variable $classes.

See also

template_preprocess()

template_preprocess_entity()

template_process()

29 string references to the theme hook from accessibility-test.tpl.php

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

AccessibilityTestController::save in sites/all/modules/ulmus/accessibility/accessibility.module
Implements EntityAPIControllerInterface.
accessibility_admin_existing_tests in sites/all/modules/ulmus/accessibility/accessibility.admin.inc
List existing accessibility tests. @todo - add a filter form
accessibility_entity_info in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_entity_info().
accessibility_features_api in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_features_api().
accessibility_field_extra_fields in sites/all/modules/ulmus/accessibility/accessibility.module
Implements hook_field_extra_fields().

... See full list

File

sites/all/modules/ulmus/accessibility/accessibility-test.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * A basic template for model entities
  5. *
  6. * Available variables:
  7. * - $content: An array of comment items. Use render($content) to print them all, or
  8. * print a subset such as render($content['field_example']). Use
  9. * hide($content['field_example']) to temporarily suppress the printing of a
  10. * given element.
  11. * - $title: The name of the model
  12. * - $url: The standard URL for viewing a model entity
  13. * - $page: TRUE if this is the main view page $url points too.
  14. * - $classes: String of classes that can be used to style contextually through
  15. * CSS. It can be manipulated through the variable $classes_array from
  16. * preprocess functions. By default the following classes are available, where
  17. * the parts enclosed by {} are replaced by the appropriate values:
  18. * - entity-profile
  19. * - model-{TYPE}
  20. *
  21. * Other variables:
  22. * - $classes_array: Array of html class attribute values. It is flattened
  23. * into a string within the variable $classes.
  24. *
  25. * @see template_preprocess()
  26. * @see template_preprocess_entity()
  27. * @see template_process()
  28. */
  29. ?>
  30. <div class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
  31. <?php if (!$page): ?>
  32. <h2<?php print $title_attributes; ?>>
  33. <a href="<?php print $url; ?>"><?php print $title; ?></a>
  34. </h2>
  35. <?php endif; ?>
  36. <div class="content" id="accessibility-test-content"<?php print $content_attributes; ?>>
  37. <?php
  38. print render($content);
  39. ?>
  40. </div>
  41. </div>