<?php

/**
 * Implements hook_ctools_plugin_directory().
 */
function mkbh_facebook_ctools_plugin_directory($owner, $plugin_type)
{
    if ($owner == 'ctools' && in_array($plugin_type, ['content_types'])) {
        return 'ctools/plugins/' . $plugin_type;
    }
}

/**
 * Implements hook_theme().
 */
function mkbh_facebook_theme($existing, $type, $theme, $path)
{
    return [
        'facebook_page_widget' => [
            'variables' => [],
            'template' => 'templates/mkbh-facebook',
        ],
    ];
}
