You are here

function hook_insert_widgets in Insert 8.2

Returns an array of widget plugin ids, keyed by insert type.

@example return ['text' => ['string_textfield', 'some_other_plugin_id']]

Return value

string[]

See also

insert_insert_widgets()

2 functions implement hook_insert_widgets()

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

insert_insert_widgets in ./insert.module
Implements hook_insert_widgets().
insert_media_insert_widgets in modules/insert_media/insert_media.module
Implements hook_insert_widgets().
2 invocations of hook_insert_widgets()
InsertUtility::getSourceWidgets in src/Utility/InsertUtility.php
_insert_get_insert_type in ./insert.module

File

./insert.api.php, line 21
This file documents hooks provided by the Insert module.

Code

function hook_insert_widgets() {
  return [];
}