You are here

MultipleStatementAlignmentUnitTest.inc in Coder 8.3.x

Same filename and directory in other branches
  1. 8.3 tests/Drupal/Formatting/MultipleStatementAlignmentUnitTest.inc

File

tests/Drupal/Formatting/MultipleStatementAlignmentUnitTest.inc
View source
<?php

/**
 * @file
 * Test assignment alignment.
 */
$x = 5;
$y = 3;
$zz = 4;
$a = 1;
$b = 2;
$c = 1;
$dd = 2;
$e = 1;
$f = 2;
$ggg = 3;
$h = 4;

/**
 * Example function.
 */
function example_form_submit_redirect_handler($form, &$form_state) {
  $selected_content = $form_state['values']['field_content_type'][LANGUAGE_NONE][0]['value'];
  $_SESSION['file_upload_session'] = TRUE;
  $form_state['redirect'] = 'example/' . $selected_content . '/' . $form_state['nid'] . '/mapping';
}
$my_first_variable = 'some value';
$my_second_variable = 'another value';
$one = 1;
$one_more = 2;

Functions

Namesort descending Description
example_form_submit_redirect_handler Example function.