You are here

function image_handler_argument_image_size::title in Image 7

Same name and namespace in other branches
  1. 6 views/image_handler_argument_image_size.inc \image_handler_argument_image_size::title()

Get the human-readable label for the image size.

Overrides views_handler_argument_string::title

File

views/image_handler_argument_image_size.inc, line 18
Views argument handler for image size argument.

Class

image_handler_argument_image_size
Argument handler for image size.

Code

function title() {
  $image_sizes = image_get_sizes();
  return check_plain($image_sizes[$this->argument]['label']);
}