By sun on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
The "Actions" functionality, formerly provided by System module, has been moved into a new Actions module (action.module) for Drupal 8.
The primary API function, actions_do(), has not changed, but needs to be wrapped in a module_exists('action') condition.
All functions previously contained in includes/actions.inc have been moved into action.module:
-function actions_list($reset = FALSE) {
+function action_list($reset = FALSE) {
-function actions_get_all_actions() {
+function action_get_all_actions() {
-function actions_actions_map($actions) {
+function action_actions_map($actions) {
-function actions_function_lookup($hash) {
+function action_function_lookup($hash) {
-function actions_synchronize($delete_orphans = FALSE) {
+function action_synchronize($delete_orphans = FALSE) {
-function actions_save($function, $type, $params, $label, $aid = NULL) {
+function action_save($function, $type, $params, $label, $aid = NULL) {
-function actions_load($aid) {
+function action_load($aid) {
-function actions_delete($aid) {
+function action_delete($aid) {
system.admin.inc:
-function system_actions_manage() {
-function system_actions_manage_form($form, &$form_state, $options = array()) {
-function system_actions_manage_form_submit($form, &$form_state) {
-function system_actions_configure($form, &$form_state, $action = NULL) {
-function system_actions_configure_validate($form, &$form_state) {
-function system_actions_configure_submit($form, &$form_state) {
-function system_actions_delete_form($form, &$form_state, $action) {
-function system_actions_delete_form_submit($form, &$form_state) {
-function system_action_delete_orphans_post($orphaned) {
-function system_actions_remove_orphans() {
ban.admin.inc:
+function action_admin_manage() {
+function action_admin_manage_form($form, &$form_state, $options = array()) {
+function action_admin_manage_form_submit($form, &$form_state) {
+function action_admin_configure($form, &$form_state, $action = NULL) {
+function action_admin_configure_validate($form, &$form_state) {
+function action_admin_configure_submit($form, &$form_state) {
+function action_admin_delete_form($form, &$form_state, $action) {
+function action_admin_delete_form_submit($form, &$form_state) {
+function action_admin_delete_orphans_post($orphaned) {
+function action_admin_remove_orphans() {
The {actions} database table remains unchanged and is NOT renamed, since "ACTION" is a reserved SQL keyword.
Impacts:
Site builders, administrators, editors
Module developers