25 calls to Element::setAttributes() in Drupal 10
- Button::preRenderButton in core/
lib/ Drupal/ Core/ Render/ Element/ Button.php - Prepares a #type 'button' render element for input.html.twig.
- Checkbox::preRenderCheckbox in core/
lib/ Drupal/ Core/ Render/ Element/ Checkbox.php - Prepares a #type 'checkbox' render element for input.html.twig.
- Color::preRenderColor in core/
lib/ Drupal/ Core/ Render/ Element/ Color.php - Prepares a #type 'color' render element for input.html.twig.
- Date::preRenderDate in core/
lib/ Drupal/ Core/ Render/ Element/ Date.php - Adds form-specific attributes to a 'date' #type element.
- Details::preRenderDetails in core/
lib/ Drupal/ Core/ Render/ Element/ Details.php - Adds form element theming to details.
- ElementTest::testSetAttributes in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests the setAttributes() method.
- Email::preRenderEmail in core/
lib/ Drupal/ Core/ Render/ Element/ Email.php - Prepares a #type 'email' render element for input.html.twig.
- File::preRenderFile in core/
lib/ Drupal/ Core/ Render/ Element/ File.php - Prepares a #type 'file' render element for input.html.twig.
- Hidden::preRenderHidden in core/
lib/ Drupal/ Core/ Render/ Element/ Hidden.php - Prepares a #type 'hidden' render element for input.html.twig.
- ImageButton::preRenderButton in core/
lib/ Drupal/ Core/ Render/ Element/ ImageButton.php - Prepares a #type 'button' render element for input.html.twig.
- media_preprocess_media_reference_help in core/
modules/ media/ media.module - Implements hook_preprocess_HOOK() for media reference widgets.
- Number::preRenderNumber in core/
lib/ Drupal/ Core/ Render/ Element/ Number.php - Prepares a #type 'number' render element for input.html.twig.
- Password::preRenderPassword in core/
lib/ Drupal/ Core/ Render/ Element/ Password.php - Prepares a #type 'password' render element for input.html.twig.
- Radio::preRenderRadio in core/
lib/ Drupal/ Core/ Render/ Element/ Radio.php - Prepares a #type 'radio' render element for input.html.twig.
- Range::preRenderRange in core/
lib/ Drupal/ Core/ Render/ Element/ Range.php - Prepares a #type 'range' render element for input.html.twig.
- Search::preRenderSearch in core/
lib/ Drupal/ Core/ Render/ Element/ Search.php - Prepares a #type 'search' render element for input.html.twig.
- Select::preRenderSelect in core/
lib/ Drupal/ Core/ Render/ Element/ Select.php - Prepares a select render element.
- Table::preRenderTable in core/
lib/ Drupal/ Core/ Render/ Element/ Table.php - #pre_render callback to transform children of an element of #type 'table'.
- Tel::preRenderTel in core/
lib/ Drupal/ Core/ Render/ Element/ Tel.php - Prepares a #type 'tel' render element for input.html.twig.
- template_preprocess_fieldset in core/
includes/ form.inc - Prepares variables for fieldset element templates.
- template_preprocess_form in core/
includes/ form.inc - Prepares variables for form templates.
- template_preprocess_select in core/
includes/ form.inc - Prepares variables for select element templates.
- template_preprocess_textarea in core/
includes/ form.inc - Prepares variables for textarea templates.
- Textfield::preRenderTextfield in core/
lib/ Drupal/ Core/ Render/ Element/ Textfield.php - Prepares a #type 'textfield' render element for input.html.twig.
- Url::preRenderUrl in core/
lib/ Drupal/ Core/ Render/ Element/ Url.php - Prepares a #type 'url' render element for input.html.twig.