panels_bootstrap_layout_builder.module in Panels Bootstrap Layout Builder 7
Same filename and directory in other branches
File
panels_bootstrap_layout_builder.moduleView source
<?php
/**
* Implements hook_permission().
*/
function panels_bootstrap_layout_builder_permission() {
return array(
'administer layouts' => array(
'title' => t('Administer bootstrap layouts'),
'description' => t('Administer backend settings for bootstrap layouts.'),
),
);
}
/**
* Implements hook_ctools_plugin_directory().
*/
function panels_bootstrap_layout_builder_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'panels' && $plugin_type == 'layouts') {
return "plugins/{$plugin_type}";
}
}
/**
* Implementation of hook_ctools_plugin_api().
*
* Tell CTools that we support the default_panels_bootstrap_layout_breakpoint and
* default_panels_layout APIs.
*/
function panels_bootstrap_layout_builder_ctools_plugin_api($owner, $api) {
if ($owner == 'panels' && $api == 'layouts') {
return array(
'version' => 1,
);
}
}
Functions
Name![]() |
Description |
---|---|
panels_bootstrap_layout_builder_ctools_plugin_api | Implementation of hook_ctools_plugin_api(). |
panels_bootstrap_layout_builder_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |
panels_bootstrap_layout_builder_permission | Implements hook_permission(). |