Sign in

陈晓峰 / drupal8 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • drupal8
  • core
  • modules
  • action
  • action.api.php
  • update
    f202974f
    陈晓峰 authored
    2015-12-09 00:17:54 +0800  
    Browse Files »
action.api.php 354 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php

/**
 * @file
 * Hooks provided by the Actions module.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Executes code after an action is deleted.
 *
 * @param $aid
 *   The action ID.
 */
function hook_action_delete($aid) {
  db_delete('actions_assignments')
    ->condition('aid', $aid)
    ->execute();
}

/**
 * @} End of "addtogroup hooks".
 */