Styles

Component ID

631560

Component name

Styles

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

279994

Component created

Component changed

Component body

The DRUPAL-6--2-0 branch works well with the Node Reference / Embed Media Browser (nrembrowser) module to bring Media-like functionality to d6!

Drupal 6-x-1 version Styles works with Drupal 6 + Filefield Styles to bring Drupal 7 to Filefield.

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 Media module, is a fully featured module utilizing the API.

Hooks provided:

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)

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