function easymeta_page_bottom in Easymeta 8
Implements hook_page_bottom().
File
- ./
easymeta.module, line 14 - Contains easy_meta.module.
Code
function easymeta_page_bottom(array &$page_bottom) {
if (!\Drupal::currentUser()
->hasPermission('manage easy meta')) {
return;
}
$config = \Drupal::config('easymeta.metas');
$form = \Drupal::formBuilder()
->getForm('Drupal\\easymeta\\Form\\EasyMetaForm', $config);
$page_bottom['easymeta'] = $form;
}