function scald_views_handler_field_representation::option_definition in Scald: Media Management made easy 7
Same name and namespace in other branches
- 6 includes/scald_views_handler_field_representation.inc \scald_views_handler_field_representation::option_definition()
Add a default context to the option definition.
Overrides views_handler_field::option_definition
File
- includes/
scald_views_handler_field_representation.inc, line 19 - Provides a field containing the representation of an atom.
Class
- scald_views_handler_field_representation
- @file Provides a field containing the representation of an atom.
Code
function option_definition() {
$options = parent::option_definition();
$options['context'] = array(
'default' => 'sdl_library_item',
);
return $options;
}