You are here

README.txt in Styles 7.2

Styles are containers to group similar field display formatters. For example, a
style on a Filefield may contain several formatters based on the mimetype or
stream, while a style on a node reference might display various formatters
based on the referenced node type.

By itself, this module does nothing. Rather, it provides an API available for
use by other modules. The Media Styles module, bundled with the
<a href="/project/media">Media</a> module, is a fully featured module utilizing
the API.

Hooks provided:
<code>
hook_styles_default_containers()
hook_styles_default_styles()
hook_styles_default_presets()
hook_styles_default_containers_alter(&$style)
hook_styles_default_styles_alter(&$style)
hook_styles_default_presets_alter(&$style)
hook_styles_delete(&$style)
</code>

See http://groups.drupal.org/node/35206 for a quick background.

File

README.txt
View source
  1. Styles are containers to group similar field display formatters. For example, a
  2. style on a Filefield may contain several formatters based on the mimetype or
  3. stream, while a style on a node reference might display various formatters
  4. based on the referenced node type.
  5. By itself, this module does nothing. Rather, it provides an API available for
  6. use by other modules. The Media Styles module, bundled with the
  7. Media module, is a fully featured module utilizing
  8. the API.
  9. Hooks provided:
  10. hook_styles_default_containers()
  11. hook_styles_default_styles()
  12. hook_styles_default_presets()
  13. hook_styles_default_containers_alter(&$style)
  14. hook_styles_default_styles_alter(&$style)
  15. hook_styles_default_presets_alter(&$style)
  16. hook_styles_delete(&$style)
  17. See http://groups.drupal.org/node/35206 for a quick background.