You are here

function openlayers_openlayers_styles_info in Openlayers 6

Implementation of hook_openlayers_styles_info().

File

./openlayers.module, line 720
Main OpenLayers API File

Code

function openlayers_openlayers_styles_info() {

  // Define info array
  $info['default'] = array(
    'name' => t('Default Style'),
    'description' => t('Basic default style.'),
    'file' => drupal_get_path('module', 'openlayers') . '/includes/openlayers.styles.inc',
    'callback' => 'openlayers_process_styles',
  );
  $info['default_select'] = array(
    'name' => t('Default Select Style'),
    'description' => t('Default style for selected geometries'),
    'file' => drupal_get_path('module', 'openlayers') . '/includes/openlayers.styles.inc',
    'callback' => 'openlayers_process_styles',
  );
  return $info;
}