You are here

domain_integration_vbo.module in Domain Integration (Drupal 7) 8

Same filename and directory in other branches
  1. 7 modules/domain_integration_vbo/domain_integration_vbo.module

Domain Integration Views Bulk Operations.

File

modules/domain_integration_vbo/domain_integration_vbo.module
View source
<?php

/**
 * @file
 * Domain Integration Views Bulk Operations.
 */

/**
 * Implements hook_action_info().
 */
function domain_integration_vbo_action_info() {
  $domain_integration_vbo_actions = array();

  // Domains VBO User actions.
  module_load_include('inc', 'domain_integration_vbo', 'domain_integration_vbo.user');
  $domain_integration_vbo_actions['domain_integration_vbo_modify_user_domains'] = array(
    'type' => 'user',
    'label' => t('Domain Integration VBO: modify user domains'),
    'configurable' => TRUE,
    'triggers' => array(
      'any',
    ),
  );

  // Domains VBO Node actions.
  module_load_include('inc', 'domain_integration_vbo', 'domain_integration_vbo.node');
  $domain_integration_vbo_actions['domain_integration_vbo_modify_node_domains'] = array(
    'type' => 'node',
    'label' => t('Domain Integration VBO: modify node domains'),
    'configurable' => TRUE,
    'triggers' => array(
      'any',
    ),
  );
  return $domain_integration_vbo_actions;
}

Functions

Namesort descending Description
domain_integration_vbo_action_info Implements hook_action_info().