<?php
/**
 * @file
 * notificaciones_por_estado_feature.features.inc
 */

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

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

/**
 * Implements hook_node_info().
 */
function notificaciones_por_estado_feature_node_info() {
  $items = array(
    'notificaciones_por_estado' => array(
      'name' => t('Notificaciones por estado'),
      'base' => 'node_content',
      'description' => '',
      'has_title' => '1',
      'title_label' => t('Nombre'),
      'help' => '',
    ),
  );
  drupal_alter('node_info', $items);
  return $items;
}

/**
 * Implements hook_rdf_default_mappings().
 */
function notificaciones_por_estado_feature_rdf_default_mappings() {
  $schemaorg = array();

  // Exported RDF mapping: comment_node_notificaciones_por_estado
  $schemaorg['comment']['comment_node_notificaciones_por_estado'] = array(
    'rdftype' => array(
      0 => 'sioc:Post',
      1 => 'sioct:Comment',
    ),
    'title' => array(
      'predicates' => array(
        0 => 'dc:title',
      ),
    ),
    'created' => array(
      'predicates' => array(
        0 => 'dc:date',
        1 => 'dc:created',
      ),
      'datatype' => 'xsd:dateTime',
      'callback' => 'date_iso8601',
    ),
    'changed' => array(
      'predicates' => array(
        0 => 'dc:modified',
      ),
      'datatype' => 'xsd:dateTime',
      'callback' => 'date_iso8601',
    ),
    'comment_body' => array(
      'predicates' => array(
        0 => 'content:encoded',
      ),
    ),
    'pid' => array(
      'predicates' => array(
        0 => 'sioc:reply_of',
      ),
      'type' => 'rel',
    ),
    'uid' => array(
      'predicates' => array(
        0 => 'sioc:has_creator',
      ),
      'type' => 'rel',
    ),
    'name' => array(
      'predicates' => array(
        0 => 'foaf:name',
      ),
    ),
  );

  // Exported RDF mapping: notificaciones_por_estado
  $schemaorg['node']['notificaciones_por_estado'] = array(
    'rdftype' => array(
      0 => 'sioc:Item',
      1 => 'foaf:Document',
    ),
    'title' => array(
      'predicates' => array(
        0 => 'dc:title',
      ),
    ),
    'created' => array(
      'predicates' => array(
        0 => 'dc:date',
        1 => 'dc:created',
      ),
      'datatype' => 'xsd:dateTime',
      'callback' => 'date_iso8601',
    ),
    'changed' => array(
      'predicates' => array(
        0 => 'dc:modified',
      ),
      'datatype' => 'xsd:dateTime',
      'callback' => 'date_iso8601',
    ),
    'body' => array(
      'predicates' => array(
        0 => 'content:encoded',
      ),
    ),
    'uid' => array(
      'predicates' => array(
        0 => 'sioc:has_creator',
      ),
      'type' => 'rel',
    ),
    'name' => array(
      'predicates' => array(
        0 => 'foaf:name',
      ),
    ),
    'comment_count' => array(
      'predicates' => array(
        0 => 'sioc:num_replies',
      ),
      'datatype' => 'xsd:integer',
    ),
    'last_activity' => array(
      'predicates' => array(
        0 => 'sioc:last_activity_date',
      ),
      'datatype' => 'xsd:dateTime',
      'callback' => 'date_iso8601',
    ),
    'field_ne_name' => array(
      'predicates' => array(),
    ),
    'field_ne_admin_act_type' => array(
      'predicates' => array(),
    ),
    'field_ne_file' => array(
      'predicates' => array(),
      'type' => 'rel',
    ),
    'field_datetime_publication' => array(
      'predicates' => array(),
    ),
    'field_datetime_unpublication' => array(
      'predicates' => array(),
    ),
    'field_ne_unit' => array(
      'predicates' => array(),
    ),
    'field_ne_process_number' => array(
      'predicates' => array(),
    ),
    'field_datetime_active' => array(
      'predicates' => array(),
    ),
    'field_ne_datetime_active' => array(
      'predicates' => array(),
    ),
    'field_ne_nombre' => array(
      'predicates' => array(),
    ),
  );

  return $schemaorg;
}
