function entity_embed_embed_button_load_all in Entity Embed 7
Same name and namespace in other branches
- 7.3 entity_embed.module \entity_embed_embed_button_load_all()
- 7.2 entity_embed.module \entity_embed_embed_button_load_all()
Load all embed button objects from the database.
Parameters
$reset: If TRUE, the static cache of all objects will be flushed prior to loading all. This can be important on listing pages where items might have changed on the page load.
Return value
An array of all loaded embed button objects, keyed by the unique IDs of the export key.
2 calls to entity_embed_embed_button_load_all()
- entity_embed_ckeditor_plugin in ./
entity_embed.ckeditor.inc - Implements hook_ckeditor_plugin().
- entity_embed_pre_render_text_format in ./
entity_embed.module - Process text format elements to load and attach assets.
1 string reference to 'entity_embed_embed_button_load_all'
- entity_embed_schema in ./
entity_embed.install - Implements hook_schema().
File
- ./
entity_embed.module, line 176 - Provides a CKEditor plugin and text filter for embedding and rendering entities.
Code
function entity_embed_embed_button_load_all($reset = FALSE) {
ctools_include('export');
if ($reset) {
ctools_export_load_object_reset('entity_embed');
}
return ctools_export_load_object('entity_embed', 'all');
}