@@ -2560,14 +2560,14 @@ be called after the form or element is built.</p>
<divclass="codeblock"><code><spanstyle="color: #000000"><spanstyle="color: #0000BB"><?php<br/> $form</span><spanstyle="color: #007700">[</span><spanstyle="color: #DD0000">'file_public_path'</span><spanstyle="color: #007700">] = array(<br/> </span><spanstyle="color: #DD0000">'#type' </span><spanstyle="color: #007700">=></span><spanstyle="color: #DD0000">'textfield'</span><spanstyle="color: #007700">,<br/> </span><spanstyle="color: #DD0000">'#title' </span><spanstyle="color: #007700">=></span><spanstyle="color: #0000BB">t</span><spanstyle="color: #007700">(</span><spanstyle="color: #DD0000">'Public file system path'</span><spanstyle="color: #007700">),<br/> </span><spanstyle="color: #DD0000">'#default_value' </span><spanstyle="color: #007700">=></span><spanstyle="color: #0000BB">variable_get</span><spanstyle="color: #007700">(</span><spanstyle="color: #DD0000">'file_public_path'</span><spanstyle="color: #007700">, </span><spanstyle="color: #0000BB">conf_path</span><spanstyle="color: #007700">() . </span><spanstyle="color: #DD0000">'/files'</span><spanstyle="color: #007700">),<br/> </span><spanstyle="color: #DD0000">'#maxlength' </span><spanstyle="color: #007700">=></span><spanstyle="color: #0000BB">255</span><spanstyle="color: #007700">,<br/> </span><spanstyle="color: #DD0000">'#description' </span><spanstyle="color: #007700">=></span><spanstyle="color: #0000BB">t</span><spanstyle="color: #007700">(</span><spanstyle="color: #DD0000">'A local file system path where public files will be stored. This directory must exist and be writable by Drupal. This directory must be relative to the Drupal installation directory and be accessible over the web.'</span><spanstyle="color: #007700">),<br/> </span><spanstyle="color: #DD0000">'#after_build' </span><spanstyle="color: #007700">=> array(</span><spanstyle="color: #DD0000">'system_check_directory'</span><spanstyle="color: #007700">),<br/> );<br/></span><spanstyle="color: #0000BB">?></span></span></code></div>
(Asynchronous Javascript and XML) is a term used for dynamic
@@ -2588,7 +2588,7 @@ element (such as 'click'), the AJAX request is made to the Drupal path
of the element's <ahref="#ajax_path">#ajax['path']</a>. If an <ahref="#ajax_callback">#ajax['callback']</a> has been specified (the
normal case), the Drupal path will be <code>system/ajax</code>.</li>
<li>Form information gets processed, and the function specified in <ahref="#ajax_callback">#ajax['callback']</a> is called. <ahref="forms_api_reference.html#ajax_callback">#ajax['callback']</a>
can return either HTML, a renderable array, or an array of <ahref="http://api.drupal.org/api/group/ajax_commands">AJAX commands</a>.</li>
can return either HTML, a renderable array, or an array of <ahref="https://api.drupal.org/api/drupal/includes%21ajax.inc/group/ajax_commands/7.x">AJAX commands</a>.</li>
<li>While the user
waits for the callback to execute a throbber or progress bar is shown
as determined by <ahref="#ajax_progress">#ajax['progress']</a>. The
@@ -2605,7 +2605,7 @@ the returned HTML into the <a href="#ajax_wrapper">#ajax['wrapper']</a>. </
<p><strong>Description</strong>:
Specifies the name of a callback function which will be called during
an AJAX call. It can return HTML, a renderable array, or an array of <ahref="http://api.drupal.org/api/group/ajax_commands">AJAX Commands</a>.
an AJAX call. It can return HTML, a renderable array, or an array of <ahref="https://api.drupal.org/api/drupal/includes%21ajax.inc/group/ajax_commands/7.x">AJAX Commands</a>.
This callback
function is given the <code>$form</code> and <code>$form_state</code>
parameters, allowing it to produce a result, which it returns for
@@ -2692,7 +2692,7 @@ Modify the behavior of the returned
HTML from an AJAX request when inserting into the <ahref="#ajax_wrapper">#ajax['wrapper']</a>. If not set, the returned
HTML will <spanstyle="font-style: italic;">replace</span> the
contents of the wrapper element, but it's also possible to use any of
the available <ahref="http://docs.jquery.com/DOM/Manipulation">jQuery
the available <ahref="https://api.jquery.com/category/manipulation">jQuery
operations for DOM manipulation</a>. </p>
<p><strong>Values</strong>: String. Possible values: 'replace'
@@ -2803,7 +2803,7 @@ replaced, not just the contents of the element.</p>
HTML element on the same page. This <spanstyle="font-style: italic;">must
not contain</span> the '#' character that a selector would have.</p>
<p>This example would call admin_form_html_cleanup($content, $element)
after $element has been rendered to $content via <ahref="http://api.drupal.org/api/function/drupal_render/"class="local">drupal_render</a>().
after $element has been rendered to $content via <ahref="https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_render/7.x"class="local">drupal_render</a>().
$content may then be modified and must be returned.</p>
rendering in <ahref="http://api.drupal.org/api/function/drupal_render/"class="local">drupal_render</a>()
rendering in <ahref="https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_render/7.x"class="local">drupal_render</a>()
has occured. The function(s) provided in #pre_render receive the element as an argument and
must return the altered element.</p>
@@ -3611,7 +3610,7 @@ function filter_form_access_denied($element) {<br />
}<br/>
</code>
<p>This example would call filter_form_access_denied($element) before
the $element has been rendered via <ahref="http://api.drupal.org/api/function/drupal_render/"class="local">drupal_render</a>().
the $element has been rendered via <ahref="https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_render/7.x"class="local">drupal_render</a>().
$element may then be modified and is returned for rendering.</p>