You are here

function views_system_get_type_list in Views System 8

Same name and namespace in other branches
  1. 7.4 views_system.module \views_system_get_type_list()

Helper function to retrieve list of types.

1 string reference to 'views_system_get_type_list'
views_system_views_data in ./views_system.views.inc
Implements hook_views_data().

File

./views_system.module, line 180
Extends the Views module and provides fields, filter criteria, and sort criteria for Modules/Themes/Theme engines.

Code

function views_system_get_type_list() {
  return array(
    'module' => t('Module'),
    'profile' => t('Profile'),
    'theme' => t('Theme'),
    'theme_engine' => t('Theme engine'),
  );
}