예제 #1
0
파일: Views.php 프로젝트: 318io/318-io
 /**
  * Gets all the views plugin definitions.
  *
  * @return array
  *   An array of plugin definitions for all types.
  */
 public static function getPluginDefinitions()
 {
     $plugins = array();
     foreach (ViewExecutable::getPluginTypes() as $plugin_type) {
         $plugins[$plugin_type] = static::pluginManager($plugin_type)->getDefinitions();
     }
     return $plugins;
 }