switch from video filter to video embed field

This commit is contained in:
2017-02-06 15:37:46 +01:00
parent 89c8bf9d41
commit 21c45a967e
11 changed files with 465 additions and 304 deletions
@@ -29,7 +29,7 @@ function admin_workflow_default_workflows() {
// Exported workflow: Publication
$workflows['Publication'] = array(
'name' => 'Publication',
'tab_roles' => 4,
'tab_roles' => 'author,3,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(
@@ -40,14 +40,21 @@ function admin_workflow_default_workflows() {
'name' => 'Publication',
),
1 => array(
'state' => 'Masqué',
'state' => 'Brouillon',
'weight' => -20,
'sysid' => 0,
'status' => 1,
'name' => 'Publication',
),
2 => array(
'state' => 'Affiché',
'state' => 'En attente',
'weight' => -20,
'sysid' => 0,
'status' => 1,
'name' => 'Publication',
),
3 => array(
'state' => 'Publié',
'weight' => -20,
'sysid' => 0,
'status' => 1,
@@ -58,26 +65,49 @@ function admin_workflow_default_workflows() {
0 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => '(creation)',
'target_state' => 'Masqué',
'target_state' => 'Brouillon',
),
1 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'roles' => 'administrator,root',
'state' => '(creation)',
'target_state' => 'Affiché',
'target_state' => 'En attente',
),
2 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'Masqué',
'target_state' => 'Affiché',
'roles' => 'administrator,root',
'state' => '(creation)',
'target_state' => 'Publié',
),
3 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'Affiché',
'target_state' => 'Masqué',
'state' => 'Brouillon',
'target_state' => 'En attente',
),
4 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'En attente',
'target_state' => 'Brouillon',
),
5 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'En attente',
'target_state' => 'Publié',
),
6 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'Publié',
'target_state' => 'Brouillon',
),
7 => array(
'roles' => 'workflow_features_author_name,administrator,root',
'state' => 'Publié',
'target_state' => 'En attente',
),
),
'node_types' => array(
0 => 'page',
0 => 'documentair',
1 => 'episode',
2 => 'page',
3 => 'thematique',
),
);