You are here

ad_ui.features.inc in Advertisement 7.3

File

modules/ad_ui/ad_ui.features.inc
View source
<?php

/**
 * @file
 * ad_ui.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function ad_ui_ctools_plugin_api($module = NULL, $api = NULL) {
  if ($module == "ds" && $api == "ds") {
    return array(
      "version" => "1",
    );
  }
  if ($module == "strongarm" && $api == "strongarm") {
    return array(
      "version" => "1",
    );
  }
}

/**
 * Implements hook_views_api().
 */
function ad_ui_views_api($module = NULL, $api = NULL) {
  return array(
    "api" => "3.0",
  );
}

/**
 * Implements hook_node_info().
 */
function ad_ui_node_info() {
  $items = array(
    'ad' => array(
      'name' => t('Advertisement'),
      'base' => 'node_content',
      'description' => '',
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  drupal_alter('node_info', $items);
  return $items;
}

Functions