function hook_ckeditor_link_types

cis7 ckeditor_link.api.php hook_ckeditor_link_types()
cle7 ckeditor_link.api.php hook_ckeditor_link_types()
elmsmedia7 ckeditor_link.api.php hook_ckeditor_link_types()
icor7 ckeditor_link.api.php hook_ckeditor_link_types()
meedjum_blog7 ckeditor_link.api.php hook_ckeditor_link_types()
mooc7 ckeditor_link.api.php hook_ckeditor_link_types()

Declare the path types handled by the module.

Return value

An array of the types handled by the module. Each value is either a type name or a sub-array with the following attributes:

  • 'type' The type name. Required.
  • 'file' A file that will be included before other hooks are invoked. The file should be relative to the implementing module's directory.
1 function implements hook_ckeditor_link_types()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ckeditor_link_ckeditor_link_types in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module
Implementation of hook_ckeditor_link_types().
1 invocation of hook_ckeditor_link_types()
ckeditor_link_get_types in sites/all/modules/ulmus/ckeditor_link/ckeditor_link.module

File

sites/all/modules/ulmus/ckeditor_link/ckeditor_link.api.php, line 21
Hooks that can be implemented by other modules to extend CKEditor Link.

Code

function hook_ckeditor_link_types() {
  return array(
    'mytype1',
    array(
      'type' => 'mytype2',
      'file' => 'includes/mymodule.mytype2.inc',
    ),
  );
}