Created
February 8, 2016 09:45
-
-
Save delta-9/1426e2899c40e2f77b8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Provide views data for our custom module_name. | |
*/ | |
/** | |
* Implements hook_views_data(). | |
*/ | |
function module_name_views_data() { | |
$data['views']['my_custom_site_area'] = array( | |
'title' => t('My custom site area'), | |
'help' => t('Provide return link and a custom hardcoded text for my custom site.'), | |
'area' => array( | |
'id' => 'my_custom_site_area', | |
), | |
); | |
return $data; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment