You are here

function image_gallery_handler_field_gallery_cover::option_definition in Image 6

Same name and namespace in other branches
  1. 7 contrib/image_gallery/views/image_gallery_handler_field_gallery_cover.inc \image_gallery_handler_field_gallery_cover::option_definition()
1 call to image_gallery_handler_field_gallery_cover::option_definition()
image_gallery_handler_field_gallery_cover_thumbnail::option_definition in contrib/image_gallery/views/image_gallery_handler_field_gallery_cover_thumbnail.inc
Defines default values for options.
1 method overrides image_gallery_handler_field_gallery_cover::option_definition()
image_gallery_handler_field_gallery_cover_thumbnail::option_definition in contrib/image_gallery/views/image_gallery_handler_field_gallery_cover_thumbnail.inc
Defines default values for options.

File

contrib/image_gallery/views/image_gallery_handler_field_gallery_cover.inc, line 53

Class

image_gallery_handler_field_gallery_cover
Parent class for field handlers that gives us a gallery cover.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['depth'] = array(
    'default' => 0,
  );
  $options['descendants'] = array(
    'default' => 'single',
  );
  return $options;
}