diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-16 02:45:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-16 02:45:34 +0000 |
commit | e8faaa62f1d51ee696ed47c60c5195c422b5e1bb (patch) | |
tree | a1c33cf57249395cd12b7dee4cb5f08615ac2ef1 /modules/field_ui | |
parent | a6f0b92207240cdf7b1ab26c07b8850ccbfdaa0c (diff) | |
download | brdo-e8faaa62f1d51ee696ed47c60c5195c422b5e1bb.tar.gz brdo-e8faaa62f1d51ee696ed47c60c5195c422b5e1bb.tar.bz2 |
- Patch #854532 by rszrama: remove deprecated documentation.
Diffstat (limited to 'modules/field_ui')
-rw-r--r-- | modules/field_ui/field_ui.api.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/field_ui/field_ui.api.php b/modules/field_ui/field_ui.api.php index 6ed0c4a6d..e224ce94e 100644 --- a/modules/field_ui/field_ui.api.php +++ b/modules/field_ui/field_ui.api.php @@ -132,42 +132,5 @@ function hook_field_widget_settings_form($field, $instance) { } /** - * Provide information on view mode tabs for an entity type. - * - * @param $entity_type - * The type of entity to return tabs for. - * - * @return - * An array whose keys are internal-use tab names, and whose values are - * arrays of tab information, with the following elements: - * - 'title': Human-readable title of the tab. - * - 'view modes': Array of view modes for this entity type that should - * be displayed on this tab. - * - * @see field_ui_view_modes_tabs() - */ -function hook_field_ui_view_modes_tabs($entity_type) { - $modes = array( - 'basic' => array( - 'title' => t('Basic'), - 'view modes' => array('teaser', 'full'), - ), - 'rss' => array( - 'title' => t('RSS'), - 'view modes' => array('rss'), - ), - 'print' => array( - 'title' => t('Print'), - 'view modes' => array('print'), - ), - 'search' => array( - 'title' => t('Search'), - 'view modes' => array('search_index', 'search_result'), - ), - ); - return $modes; -} - -/** * @} End of "ingroup field_ui_field_type" */ |