HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/sites/all/modules/node_convert/node_convert.install
<?php

/**
 * @file
 * Installs necessary tables for node convert templates.
 */

/**
 * @todo Please document this function.
 * @see http://drupal.org/node/1354
 */
function node_convert_schema() {
  $schema['node_convert_templates'] = array(
    'fields' => array(
      'nctid' => array(
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'name' => array(
        'type' => 'text',
        'size' => 'small',
      ),
      'source_type' => array(
        'type' => 'text',
        'size' => 'small',
        'not null' => FALSE,
      ),
      'destination_type' => array(
        'type' => 'text',
        'size' => 'small',
        'not null' => TRUE,
      ),
      'data' => array(
        'type' => 'text',
        'size' => 'medium',
      ),
    ),
    'primary key' => array('nctid'),
  );
  return $schema;
}

/**
 * @todo Please document this function.
 * @see http://drupal.org/node/1354
 */
function node_convert_install() {
  
}

/**
 * @todo Please document this function.
 * @see http://drupal.org/node/1354
 */
function node_convert_uninstall() {
  // Deleting node convert action.
  db_delete('actions')
  ->condition('callback', 'node_convert_convert_action')
  ->execute();
}