You are here

function openlayers_ctools_plugin_type in Openlayers 7.2

Implements hook_ctools_plugin_type().

File

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

Code

function openlayers_ctools_plugin_type() {

  // For backwards compatibility, we allow for the use
  // of hooks to define these plugins.
  //
  // This should be removed in 7.x-3.x
  return array(
    'behaviors' => array(
      'use hooks' => TRUE,
      'classes' => array(
        'behavior',
      ),
    ),
    'layer_types' => array(
      'use hooks' => TRUE,
      'classes' => array(
        'layer_types',
      ),
    ),
  );
}