public function HiddenLanguageBaseTestCase::post in Hidden Language 7
Posts to a Drupal path with language.
File
- ./
hidden_language.test, line 144 - Tests for Hidden Language module.
Class
- HiddenLanguageBaseTestCase
- Base class for Hidden Language module tests.
Code
public function post($language, $path, $edit, $submit, array $options = array(), array $headers = array(), $form_html_id = NULL, $extra_post = NULL) {
$options['language'] = $this
->getLanguage($language);
$this
->drupalPost($path, $edit, $submit, $options, $headers, $form_html_id, $extra_post);
}