You are here

function imageapi_optimize_pipeline_list in Image Optimize (or ImageAPI Optimize) 7.2

Menu callback; Listing of all current image pipelines.

1 string reference to 'imageapi_optimize_pipeline_list'
imageapi_optimize_menu in ./imageapi_optimize.module
Implements hook_menu().

File

./imageapi_optimize.admin.inc, line 6

Code

function imageapi_optimize_pipeline_list() {
  $page = array();
  $pipelines = imageapi_optimize_pipelines();
  $page['imageapi_optimize_pipeline_list'] = array(
    '#theme' => 'imageapi_optimize_pipeline_list',
    '#pipelines' => $pipelines,
    '#attached' => array(
      'css' => array(
        drupal_get_path('module', 'image') . '/image.admin.css' => array(),
      ),
    ),
  );
  return $page;
}