| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 | 
							- <?php
 
- /**
 
-  * @file
 
-  * admin.features.inc
 
-  */
 
- /**
 
-  * Implements hook_ctools_plugin_api().
 
-  */
 
- function admin_ctools_plugin_api($module = NULL, $api = NULL) {
 
-   if ($module == "strongarm" && $api == "strongarm") {
 
-     return array("version" => "1");
 
-   }
 
- }
 
- /**
 
-  * Implements hook_views_api().
 
-  */
 
- function admin_views_api($module = NULL, $api = NULL) {
 
-   return array("api" => "3.0");
 
- }
 
- /**
 
-  * Implements hook_workflow_default_workflows().
 
-  */
 
- function admin_workflow_default_workflows() {
 
-   $workflows = array();
 
-   // Exported workflow: Affichage
 
-   $workflows['Affichage'] = array(
 
-     'name' => 'Affichage',
 
-     'tab_roles' => 4,
 
-     'options' => 'a:4:{s:16:"comment_log_node";s:1:"0";s:15:"comment_log_tab";s:1:"0";s:13:"name_as_title";s:1:"0";s:12:"watchdog_log";s:1:"0";}',
 
-     'states' => array(
 
-       0 => array(
 
-         'state' => '(creation)',
 
-         'weight' => -50,
 
-         'sysid' => 1,
 
-         'status' => 1,
 
-         'name' => 'Affichage',
 
-       ),
 
-       1 => array(
 
-         'state' => 'Masqué',
 
-         'weight' => -20,
 
-         'sysid' => 0,
 
-         'status' => 1,
 
-         'name' => 'Affichage',
 
-       ),
 
-       2 => array(
 
-         'state' => 'Affiché',
 
-         'weight' => -20,
 
-         'sysid' => 0,
 
-         'status' => 1,
 
-         'name' => 'Affichage',
 
-       ),
 
-     ),
 
-     'transitions' => array(
 
-       0 => array(
 
-         'roles' => 'workflow_features_author_name,administrator,root',
 
-         'state' => '(creation)',
 
-         'target_state' => 'Masqué',
 
-       ),
 
-       1 => array(
 
-         'roles' => 'workflow_features_author_name,administrator,root',
 
-         'state' => '(creation)',
 
-         'target_state' => 'Affiché',
 
-       ),
 
-       2 => array(
 
-         'roles' => 'workflow_features_author_name,administrator,root',
 
-         'state' => 'Masqué',
 
-         'target_state' => 'Affiché',
 
-       ),
 
-       3 => array(
 
-         'roles' => 'workflow_features_author_name,administrator,root',
 
-         'state' => 'Affiché',
 
-         'target_state' => 'Masqué',
 
-       ),
 
-     ),
 
-     'node_types' => array(
 
-       0 => 'chapitre',
 
-       1 => 'page',
 
-     ),
 
-   );
 
-   return $workflows;
 
- }
 
 
  |