"1"); } if ($module == "page_manager" && $api == "pages_default") { return array("version" => "1"); } if ($module == "strongarm" && $api == "strongarm") { return array("version" => "1"); } } /** * Implements hook_views_api(). */ function mkbh_projekter_views_api($module = NULL, $api = NULL) { return array("api" => "3.0"); } /** * Implements hook_image_default_styles(). */ function mkbh_projekter_image_default_styles() { $styles = array(); // Exported image style: 320x160. $styles['320x160'] = array( 'label' => '320x160', 'effects' => array( 16 => array( 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 320, 'height' => 160, ), 'weight' => 1, ), ), ); // Exported image style: 60x60. $styles['60x60'] = array( 'label' => '60x60', 'effects' => array( 17 => array( 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 60, 'height' => 60, ), 'weight' => 1, ), ), ); return $styles; } /** * Implements hook_node_info(). */ function mkbh_projekter_node_info() { $items = array( 'projekt' => array( 'name' => t('Projekt'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Navn'), 'help' => '', ), ); drupal_alter('node_info', $items); return $items; }