Loading plugins/graphmind_relationship/graphmind_relationship.module +0 −33 Original line number Diff line number Diff line Loading @@ -541,39 +541,6 @@ function graphmind_relationship_form_graphmind_node_form_alter(&$form, $form_sta } } /** * Implements hook_form_FORM_ID_alter(). * Altering the site wide admin settings form. * * @param array $form * @param array $form_status */ function graphmind_relationship_form_graphmind_service_admin_form_alter(&$form, $form_status) { $form['graphmind_relationship'] = array( '#type' => 'fieldset', '#title' => t('Relationship plugin'), '#collapsible' => TRUE, '#collapsed' => FALSE, '#weight' => 0, 'data' => array( 'graphmind_relationship_depth' => array( '#type' => 'textfield', '#title' => t('Depth of loaded relationships'), '#description' => t('This value will be the maximum depth of levels when a node is loading it\'s relationsips.'), '#default_value' => variable_get('graphmind_relationship_depth', GRAPHMIND_RELATIONSHIP_DEFAULT_DEPTH), ), 'graphmind_relationship_create_from_node_types' => array( '#type' => 'checkboxes', '#title' => t('Content types used for the \'Create new mindmap\' links'), '#description' => t('Nodes of the selected content types will have a link for mindmap creation.'), '#options' => node_type_get_names(), '#default_value' => variable_get('graphmind_relationship_create_from_node_types'), ), ), ); } /** * Implements hook_graphmind_flashvars_alter(). * Loading Loading
plugins/graphmind_relationship/graphmind_relationship.module +0 −33 Original line number Diff line number Diff line Loading @@ -541,39 +541,6 @@ function graphmind_relationship_form_graphmind_node_form_alter(&$form, $form_sta } } /** * Implements hook_form_FORM_ID_alter(). * Altering the site wide admin settings form. * * @param array $form * @param array $form_status */ function graphmind_relationship_form_graphmind_service_admin_form_alter(&$form, $form_status) { $form['graphmind_relationship'] = array( '#type' => 'fieldset', '#title' => t('Relationship plugin'), '#collapsible' => TRUE, '#collapsed' => FALSE, '#weight' => 0, 'data' => array( 'graphmind_relationship_depth' => array( '#type' => 'textfield', '#title' => t('Depth of loaded relationships'), '#description' => t('This value will be the maximum depth of levels when a node is loading it\'s relationsips.'), '#default_value' => variable_get('graphmind_relationship_depth', GRAPHMIND_RELATIONSHIP_DEFAULT_DEPTH), ), 'graphmind_relationship_create_from_node_types' => array( '#type' => 'checkboxes', '#title' => t('Content types used for the \'Create new mindmap\' links'), '#description' => t('Nodes of the selected content types will have a link for mindmap creation.'), '#options' => node_type_get_names(), '#default_value' => variable_get('graphmind_relationship_create_from_node_types'), ), ), ); } /** * Implements hook_graphmind_flashvars_alter(). * Loading