3 namespace Drupal\Core\Render\Element;
6 * Provides a render element for adding Ajax to a render element.
8 * Holds an array whose values control the Ajax behavior of the element.
12 * @RenderElement("ajax")
14 class Ajax extends RenderElement {
19 public function getInfo() {
20 // By default, we don't want Ajax commands being rendered in the context of
21 // an HTML page, so we don't provide defaults for #theme or #theme_wrappers.
22 // However, modules can set these properties (for example, to provide an
23 // HTML debugging page that displays rather than executes Ajax commands).