You are here

function image_attach_views_handler_field_attached_images::option_definition in Image 6

Define default values for options.

We inherit the image size option.

Overrides image_handler_field_image_node_image::option_definition

File

contrib/image_attach/image_attach_views_handler_field_attached_images.inc, line 33

Class

image_attach_views_handler_field_attached_images
Field handler to display the attached images on a node.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['as_link'] = array(
    'default' => 'none',
  );
  return $options;
}