function image_views_handler_filter_image_size in Image 5.2
Same name and namespace in other branches
- 5 views.inc \image_views_handler_filter_image_size()
Views - Generate a list of all the valid sizes that are available
2 string references to 'image_views_handler_filter_image_size'
- image_attach_views_tables in contrib/
image_attach/ image_attach.module - Implementation of hook_views_tables().
- image_views_tables in ./
views.inc - Implementation of hook_views_tables()
File
- ./
views.inc, line 107
Code
function image_views_handler_filter_image_size($op) {
foreach (_image_get_sizes() as $key => $size) {
$a[$key] = $size['label'];
}
return $a;
}