<?php

/**
 * @file
 * Module file for tablesort_example.
 */


/**
 * @defgroup tablesort_example Example: Tablesort
 * @ingroup examples
 * @{
 * Example of a sortable table display.
 * Three columns are sortable (Numbers, Letters and Mixture)
 * We are using TableSort Extender
 *  extend('Drupal\Core\Database\Query\TableSortExtender')
 */

/**
 * @} End of "defgroup tablesort_example".
 */
//namespace Drupal\typ\Form;

/*if (class_exists("\TYP\Legacy\Form\TYPLegacyCustomerController")) {
    echo 'yes';
} else {
    echo 'no';
}
exit;
*/

function typ_profile_theme() {
    return array(
        'typ_profile' => array(
            'variables' => array(
                'profile' => NULL,
                'prodescription' => NULL,
                'catalog' => NULL,
                'type' => NULL,
                'promotion' => NULL,
                'breadcrumbs' => NULL,
                'base_path' => NULL,
                'facebook_comment' => NULL,
            )
        ),
        'typ_promotion' => array(
            'variables' =>  array(
                'url'   =>  NULL
            )
        ),
        'typ_ypmap' => array(
            'variables' =>  array(
                'latitude' => NULL,
                'longitude' => NULL,
                'height' => NULL,
                'width' => NULL,
                'bypass' => NULL,
                'LandingPage_URL' => NULL
            )
        )
    );
}
