Commit Graph

301 Commits (3aba956a39a4852f42cad8483e4e6e307bedbd0e)

Author SHA1 Message Date
Alex Pott 002ae719c9 Issue #2343661 by larowlan, tim.plunkett | xjm: Rename l() to _l() and url() to _url(), and document replacements. 2014-09-30 10:10:00 +02:00
Alex Pott 179e7c2bd1 Issue #2337709 by tim.plunkett: Convert form_state_values_clean() to FormStateInterface::cleanValues(). 2014-09-16 12:16:27 +01:00
Alex Pott d39c014754 Issue #2334383 by jbrown, ashutoshsngh, er.pushpinderrana: Remove usage of form_error(). 2014-09-12 19:57:00 +01:00
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
Jennifer Hodgdon a31b5ea18a Issue #2283675 by er.pushpinderrana, amitgoyal, mparker17, joachim, mmarquez: Document how optgroups are generated in form_select_options() 2014-09-10 14:59:52 -07:00
Jennifer Hodgdon 1f380d8853 Issue #2334405 by almaudoh, drunken monkey: Clean up documentation links to functions moved to render element classes 2014-09-10 14:56:14 -07:00
Alex Pott c925507a49 Issue #2335189 by ashutoshsngh: Remove form.inc form_get_errors(). 2014-09-09 20:38:23 +01:00
webchick 26564b508c Issue #2330423 by ashutoshsngh: Remove form.inc form_get_error(). 2014-09-08 09:00:17 -07:00
webchick db30eaf438 Issue #2328785 by tim.plunkett: Convert form_load_include() to FormState::loadInclude(). 2014-08-28 21:23:30 -07:00
webchick 2191f864ab Issue #2328777 by tim.plunkett: Refactor FAPI getCache()/setCache() into a standalone class. 2014-08-28 14:38:22 -07:00
webchick 9db4af56da Issue #2326891 by tim.plunkett, jhodgdon: Convert system_element_info() to Element classes. 2014-08-28 14:35:24 -07:00
webchick de5fe262f2 Issue #2318087 by tim.plunkett: Replace ['input'] with FormState::getUserInput(). 2014-08-23 12:18:55 -07:00
Alex Pott 7fff6e850a Issue #2297875 by herom, bfr: Replace calls to form_set_error() to $form_state->setErrorByName(). 2014-08-22 02:04:33 +01:00
Alex Pott a4125e6a8c Issue #2228093 by dawehner | sun: Modernize theme initialization. 2014-08-21 17:53:03 +01:00
Alex Pott a7364b37de Issue #2324113 by penyaskito: Move Drupal/Core/Utility/Color to Drupal/Component/Utility/Color. 2014-08-20 15:52:22 +01:00
Alex Pott 7e23170de4 Issue #2300875 by joshi.rohit100, amitgoyal, penyaskito: Remove drupal_redirect_form() as it is deprecated. 2014-08-18 16:03:15 +01:00
Alex Pott 28ef6b28c3 Issue #2152227 by JeroenT, joelpittet, steinmb, steveoliver, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_tableselect() to #theme table__tableselect. 2014-08-15 23:48:45 +01:00
webchick 9c87059f0f Issue #2305839 by jhodgdon, tim.plunkett: Convert hook_element_info() to annotated classes. 2014-08-12 12:19:20 -07:00
Alex Pott fef9fd278d Issue #2301593 by er.pushpinderrana, joshi.rohit100: Remove drupal_retrieve_form() as it is deprecated. 2014-08-12 11:29:57 -07:00
Alex Pott b366d7d798 Issue #314385 by penyaskito, Pancho, mgifford, jjcarrion, jlbellido, akalata, alimac, jday, Risse, stBorchert | emmajane: Make position of #description configurable via the API. 2014-08-11 22:03:40 -05:00
Alex Pott 8f23dc869c Issue #2318099 by tim.plunkett: Replace $form_state['complete_form'] with $form_state->getCompleteForm(). 2014-08-11 08:18:04 -05:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 18ddb0044c Issue #2315807 by tim.plunkett: Remove support for path-based form redirects. 2014-08-07 21:43:27 +01:00
webchick 73a65a3605 Issue #2313397 by tim.plunkett: Replace FormBuilderInterface::setValue() with FormStateInterface::setValueForElement(). 2014-08-04 10:23:18 -07:00
Alex Pott 5f4bbab95c Issue #2313823 by tim.plunkett, martin107: Use FormStateInterface for all typehints. 2014-08-04 12:21:15 +01:00
Alex Pott 537457b512 Issue #2308821 by tim.plunkett: Replace FormErrorInterface with $form_state->setErrorByName() and $form_state->setError(). 2014-08-04 11:19:36 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Jennifer Hodgdon a556b96a24 Issue #2299679 by jmmarquez, lokeoke: Move some topics/groups to/from core.api.php 2014-07-29 09:43:49 -07:00
Alex Pott 447cfbf1c1 Issue #2299427 by tim.plunkett, amitgoyal, joshi.rohit100: Remove drupal_build_form() once all its usage is removed as it is deprecated. 2014-07-21 12:04:16 +01:00
Alex Pott 87e675f09b Issue #1825952 by Fabianx, joelpittet, bdragon, heddn, chx, xjm, pwolanin, mikey_p, ti2m, bfr, dags, cilefen, scor, mgifford: Turn on twig autoescape by default 2014-07-18 10:05:22 +01:00
Alex Pott c05668e747 Issue #2304965 by longwave | klausi: Fixed Port form_select_options() XSS fix from SA-CORE-2014-003. 2014-07-18 08:51:59 +01:00
webchick 0e240bb7d5 Issue #2301591 by joshi.rohit100: Remove drupal_rebuild_form() as it is deprecated. 2014-07-13 13:22:36 -07:00
Alex Pott ec9e2b5ffd Issue #2301601 by joshi.rohit100: Remove drupal_validate_form() as it is deprecated. 2014-07-13 10:10:20 +01:00
Alex Pott 16102e801e Issue #2301587 by joshi.rohit100: Remove form_state_defaults() as it is deprecated. 2014-07-13 10:08:09 +01:00
Alex Pott 5ec328b270 Issue #2301597 by joshi.rohit100: Remove drupal_prepare_form() as it is deprecated. 2014-07-13 09:54:57 +01:00
Alex Pott 4f246c7ebc Issue #2300847 by joshi.rohit100: Remove drupal_get_form() as it is deprecated. 2014-07-11 11:04:34 +01:00
Alex Pott b6e26521eb Issue #2299499 by joshi.rohit100: Remove form_clear_error() as it is deprecated. 2014-07-10 10:40:30 +01:00
Alex Pott 78a7670261 Issue #1419036 by lauriii, gnuget, wheatpenny, InternetDevels, oliverhm, scresante, patrickd | sun: Added a CSS class for form items that have no label. 2014-07-07 15:57:04 +01:00
Jennifer Hodgdon 90a3498fe5 Issue #2290325 by cs_shadow: Get rid of form builder functions topic and references to it 2014-06-25 15:02:52 -07:00
Alex Pott b962ed446d Issue #2152215 by joelpittet, mr.baileys, benjifisher, martin107, rteijeiro, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand, bayousoft: Convert theme_form_element_label() to Twig 2014-06-12 18:20:10 +01:00
Alex Pott 406da3196a Issue #2152219 by joelpittet, mdrummond, rodrigoaguilera, sqndr, rteijeiro, InternetDevels, steveoliver, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_input() to Twig 2014-06-11 14:08:58 +01:00
Nathaniel Catchpole 302329bef7 Issue #2152205 by joelpittet, mark.labrecque, Manuel Garcia, pakmanlh, steveoliver, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_date() to #theme input__date 2014-06-11 11:37:11 +01:00
webchick 49a900460d Issue #2246665 by jaredsmith, martin107, YesCT, filijonka, tstoeckler: Typehint with Drupal\Core\Language\LanguageInterface instead Drupal\Core\Language\Language. 2014-06-10 09:53:32 -07:00
webchick d0107d496b Issue #950534 by mparker17, mgifford, Mixologic, jbloomfield, erinclerico, theMusician, wmostrey | zirvap: [policy] Consistently use email instead of e-mail in Drupal. 2014-06-09 14:47:53 -07:00
Nathaniel Catchpole 0a7f5b8443 Issue #2244447 by alexpott, sun, Berdir: Translation of low-level info/annotations leads to circular dependencies. 2014-06-07 11:24:02 +01:00
Nathaniel Catchpole 120a1da34c Issue #2257835 by tim.plunkett, sun, Jalandhar: Move form submission logic out of FormBuilder into a new class. 2014-05-14 21:18:01 +01:00
Nathaniel Catchpole 82aaa8af0a Issue #2152217 by joelpittet, mgifford, vijaycs85, jjcarrion, sun: Remove theme_form_required_marker() from the theme system - use CSS instead. 2014-05-08 14:40:44 +01:00
Alex Pott f710a6c92e Issue #2209977 by tim.plunkett: Move form validation logic out of FormBuilder into a new class. 2014-05-06 00:07:47 +01:00
Jennifer Hodgdon 31d1114a36 Issue #2191429 by eojthebrave, tim.plunkett: Fix up Form API topic docs in form.inc 2014-04-29 07:25:03 -07:00
Nathaniel Catchpole 17561142cb Issue #2221695 by brantwynn, ianthomas_uk, grom358, ParisLiakos, Jalandhar: Remove uses of deprecated URL functions. 2014-04-16 16:05:41 +01:00
webchick c6e469e9db Issue #2152201 by Salah Messaoud, Manuel Garcia, steveoliver, joelpittet, burgerboydaddy, katy5289, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_checkboxes() to Twig 2014-04-15 20:52:59 -07:00
webchick 86ae96e4fd Issue #2089433 by ianthomas_uk, grom358, herom, thedavidmeister, visabhishek, longwave, Sweetchuck: Remove uses of deprecated XSS filter functions. 2014-04-07 08:01:20 -07:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00
webchick 7a91c2e8ed Issue #2121175 by Codenator, tim.plunkett, cosmicdreams, jayeshanandani, grom358, ianthomas_uk, Xano: Remove usage of drupal_get_form(). 2014-03-31 10:26:19 -07:00
webchick 627b7bb5a3 Issue #2219617 by visabhishek, galooph, joshtaylor, Cottser: Remove @ingroup themeable from preprocess function docblocks. 2014-03-26 22:18:39 -07:00
webchick eed630f689 Issue #2152221 by IshaDakota, steveoliver, joelpittet, InternetDevels, rteijeiro, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_radios() to Twig 2014-03-25 13:38:11 -07:00
webchick ce9dc74655 Revert "Issue #2152221 by IshaDakota, joelpittet, InternetDevels, rteijeiro | Cottser: Convert theme_radios() to Twig."
Oops. Bad commit credit. Re-committing.

This reverts commit 3b8d35aa49.
2014-03-25 13:36:55 -07:00
webchick 3b8d35aa49 Issue #2152221 by IshaDakota, joelpittet, InternetDevels, rteijeiro | Cottser: Convert theme_radios() to Twig. 2014-03-25 13:35:59 -07:00
webchick 9d3a228020 Issue #2171071 by jessebeach, dawehner, chakrapani, longwave, Gábor Hojtsy, xjm, Wim Leers: Rename drupal_add_library() to _drupal_add_library() and remove its uses. 2014-03-12 08:47:01 -07:00
Alex Pott 01a3e1902f Issue #2203407 by nod_, sun: Replace #attached library array values with provider-namespaced strings. 2014-03-09 19:59:45 +00:00
webchick dd77893f4d Issue #2152209 by longwave, joelpittet, steveoliver, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_fieldset() to Twig. 2014-03-07 14:26:17 -08:00
webchick ad5980c7ae Issue #2152211 by joelpittet, IshaDakota, rteijeiro, steveoliver, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_form() to Twig. 2014-03-07 14:20:52 -08:00
webchick 82bb0f33ff Issue #2152225 by longwave, JeroenT, steveoliver, joelpittet, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_select() to Twig 2014-03-07 13:51:16 -08:00
Dries 1d58c60abc Issue #2184653 by amateescu: Rename Drupal\Component\Utility\Url to UrlHelper. 2014-03-05 15:22:39 -05:00
Dries fdf1391097 Issue #2208793 by salvis: Notice: Undefined variable: label_element in form_process_table(). 2014-03-05 14:51:35 -05:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00:00
Dries 5fb617d7ac Issue #1938926 by sun, Cottser, joelpittet, pplantinga: Convert simpletest theme tables to table #type. 2014-02-27 20:52:40 +01:00
webchick 5d0729f07a Issue #2070369 by herom, bdgreen, Mac_Weber, InternetDevels, sidharthap, JeroenT: Remove all calls to deprecated function language(). 2014-02-26 11:16:54 -08:00
webchick 02417da643 Issue #1892182 by sun, nod_, jibran: #type details: Rename #collapsed to #open. 2014-02-26 10:38:09 -08:00
Alex Pott 78e5e9bfd9 Issue #2045927 by herom, martin107, ianthomas_uk, Xano, michaellander, Sutharsan: Replace all drupal_alter() deprecated function calls. 2014-02-24 10:10:52 +00:00
webchick f19fadd3a4 Issue #1996238 by sun, nod_, damiankloip, Wim Leers, longwave, alexpott, Xano, mdrummond, Mark Carver, Jeff Burnz, highrockmedia, joelpittet, et al: Replace hook_library_info() by *.libraries.yml file. 2014-02-22 20:56:51 -08:00
webchick 6ff0d4c76a Issue #2177469 by Gábor Hojtsy, Aron Novak, swentel, andypost, Berdir: Move node base widgets to the top level of the form. 2014-02-21 10:00:13 -08:00
Alex Pott eb53ecc555 Issue #2187735 by ianthomas_uk, Sutharsan, andypost: Add removal information to docblock of all @deprecated functions. 2014-02-20 13:49:37 +00:00
Nathaniel Catchpole 2c7b99d09c Issue #2192419 by sun, mgifford: Use a WCAG-compliant fieldset (fieldgroup) for #type radios/checkboxes. 2014-02-20 11:40:28 +00:00
Nathaniel Catchpole 13905ed190 Issue #1379070 by ocsilalala, rkjha, swentel, kid_icarus, Gisle: Field with multiple select list does not allow -None- to be a default value. 2014-02-14 17:05:59 +00:00
Jennifer Hodgdon f07c8359c0 Issue #1948566 by joachim: Document batch API callbacks using new standard 2014-02-12 16:46:08 -08:00
webchick bc6681c456 Issue #1939064 by joelpittet, pwieck, farrington, mark.labrecque, Cottser, InternetDevels, mdrummond, drupalninja99, BarisW, jenlampton: Convert theme_links() to Twig. 2014-02-06 20:28:14 -08:00
webchick 7a695724a3 Issue #2152207 by steveoliver, joelpittet, gnuget, idflood, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_details() to Twig 2014-02-06 20:26:52 -08:00
webchick 72c90808a7 Issue #2190427 by joelpittet, jessebeach: Replace theme() with drupal_render() in form.inc. 2014-02-06 20:01:25 -08:00
Nathaniel Catchpole e3b24655b8 Issue #2177653 by jessebeach, joelpittet, InternetDevels: Replace theme() with drupal_render() in form.inc. 2014-02-05 10:56:05 +00:00
webchick b9de0424f2 Issue #2152229 by steveoliver, rteijeiro, joelpittet, JeroenT, InternetDevels, michamilz, burgerboydaddy, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_textarea() to Twig 2014-02-04 09:28:23 -08:00
Nathaniel Catchpole dc265f784f Issue #2152213 by steveoliver, joelpittet, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_form_element() to Twig 2014-02-04 13:24:34 +00:00
webchick 394442e270 Issue #2152231 by rteijeiro, steveoliver, joelpittet, hussainweb, shanethehat, jenlampton, kpa, AnythonyR, EVIIILJ, kgoel, Cottser, dsdeiz, hanpersand: Convert theme_vertical_tabs() to Twig 2014-01-25 21:13:33 -08:00
webchick f9bb7739c3 Issue #2165683 by Kartagis: Several British spelled words. 2014-01-23 22:08:18 -08:00
webchick 2214ca4e27 Revert "Issue #2171071 by jessebeach, Wim Leers: Remove drupal_add_library()."
Somehow this broke PHPUnit, so rolling back for now.

This reverts commit 91b465bdc5.
2014-01-15 12:08:12 -08:00
webchick 91b465bdc5 Issue #2171071 by jessebeach, Wim Leers: Remove drupal_add_library(). 2014-01-13 14:01:32 -08:00
webchick 3bb5f796f6 Issue #1998638 by damiankloip, dawehner, kim.pepper, cosmicdreams, alexpott, larowlan, Damien Tournoud: Replace almost all remaining superglobals (, , etc.) with Symfony Request object. 2013-12-05 10:02:36 -08:00
webchick dc7a5b27ef Revert of Issue #1998638, since it broke drush si and other command-line scripts. 2013-12-04 21:13:05 -08:00
webchick a38172dc20 Issue #1998638 by damiankloip, dawehner, kim.pepper, cosmicdreams, larowlan, Damien Tournoud: Replace all remaining superglobals (, , etc.) with Symfony Request object. 2013-12-03 10:57:18 -08:00
Alex Pott b5525adbac Issue #2121775 by jessebeach: Make the markup associated with the required star on field items silent. 2013-12-01 23:41:57 -04:00
webchick 02a10b3161 Issue #675446 by mgifford, RobLoach, amateescu, nod_, longwave, oxyc, rteijeiro, tomyouds, Jelle_S, mcrittenden, Sutharsan, hansyg, Angry Dan, clemens.tolboom, droplet | Dave Reid: Change notice: Use jQuery UI Autocomplete. 2013-11-24 12:30:09 -08:00
webchick df1a669b77 Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global. 2013-11-23 12:57:04 -08:00
webchick b91c1a9e55 Issue #2120841 by tim.plunkett: Convert form_options_flatten() to a method on FormBuilder. 2013-11-22 21:13:32 -08:00
webchick 1eb89f1a00 Issue #1986074 by LewisNyman, Outi, mcjim, edward_or, ry5n, Bojhan, yoroy: Buttons style update. 2013-11-22 16:23:37 -08:00
Dries 3d3f63dd3c Issue #2119317 by herom: Typo in form.inc comments (String:checkPlain). 2013-11-05 21:12:47 -05:00
Nathaniel Catchpole 9d5aefb739 Issue #2048223 by dawehner, ParisLiakos, herom, fubhy, damiankloip, vijaycs85, joelpittet, tim.plunkett: Add $account argument to AccessCheckInterface::access() method and use the current_user() service. 2013-10-30 17:31:44 +00:00
Alex Pott 82eb2924cf Issue #2112807 by tim.plunkett: Move the form builder functions in form.inc to a form service. 2013-10-25 15:54:34 -07:00
webchick 9b8d32396b Issue #2112711 by tim.plunkett: Provide an easier mechanism for using drupal_get_form() directly. 2013-10-17 21:26:38 -07:00
Alex Pott b201c0546c Issue #2111209 by Xano: Fixed Rename FormInterface::getFormID() to FormInterface::getFormId(). 2013-10-16 13:37:27 +01:00
Nathaniel Catchpole 7e532bf25d Issue #2030173 by jhedstrom: Convert system module's ValidNumberStepUnitTest to phpunit. 2013-10-16 12:04:31 +01:00