Commit Graph

317 Commits (231165730f6e65c3a93fa1709a51d5337ef5d12c)

Author SHA1 Message Date
Alex Pott 6695db7db2 Issue #2448339 by a_thakur, gaurav_varshney, Mile23: Remove drupal_form_submit() from form.inc 2015-04-13 12:17:00 +01:00
Alex Pott 3a6f5da580 Issue #2463321 by amateescu: Serializing the database connection is dangerous and error-prone, make it unserializable again 2015-04-08 11:45:14 +01:00
webchick 70f8ac6f31 Issue #2457887 by prateekMehta, stefan.r, rpayanm, alexpott: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions 2015-03-29 15:13:25 -07:00
Alex Pott 2bbeb8f3a8 Issue #2425325 by cleaver: Batch API example code has wrong finished callback 2015-02-17 00:01:31 +00:00
webchick 0fb9bb5474 Issue #2364157 by mpdonadio, dawehner, martin107, Berdir, pcambra, naveenvalecha, tim.plunkett: Replace most existing _url calls with Url objects 2015-01-29 20:56:19 -08:00
Alex Pott aff95777ed Issue #2309737 by rpayanm, hussainweb, max-kuzomko, herom, millerbennett, ianthomas_uk, quietone, Sutharsan, sumitmadan, toddmbloom: Remove deprecated format_plural usage 2015-01-10 13:56:47 +00:00
Alex Pott e55610f88d Issue #2226863 by cs_shadow, filijonka, joelpittet, pguillard: Update stale references to theme functions that have been converted to Twig 2014-12-11 11:35:52 +01:00
Alex Pott 9fc078cc47 Issue #2385787 by a_thakur: Remove form_state_values_clean() from form.inc 2014-12-07 21:22:45 +00:00
Nathaniel Catchpole a9614d5344 Issue #2385803 by a_thakur: Remove form_execute_handlers() from form.inc 2014-12-03 11:08:41 +00:00
Nathaniel Catchpole 44aa06ab12 Issue #2385063 by rpayanm, Akshay2598: Remove drupal_process_form() 2014-12-03 11:07:59 +00:00
webchick 2bed4d14ba Issue #2383727 by a_thakur: Remove form_options_flatten() as it is deprecated 2014-12-01 08:33:02 -08:00
Alex Pott 58480ee670 Issue #2362227 by dawehner, mpdonadio, znerol, tim.plunkett, skipyT: Replace all instances of current_path() 2014-11-28 13:38:17 +00:00
Alex Pott 93cd0b556c Issue #2375245 by ashutoshsngh: Remove form_set_value() 2014-11-20 09:52:23 +00:00
catch b1e36444b1 Issue #2355187 by ashutoshsngh, rpayanm, skipyT, legolasbo: Remove form_get_cache(). 2014-10-31 20:53:15 +00:00
Nathaniel Catchpole e8d6588e14 Issue #2355001 by ashutoshsngh, dinarcon, er.pushpinderrana: Remove form.inc form_builder(). 2014-10-14 13:55:12 +01:00
Alex Pott 1256191575 Issue #2329901 by lanchez, lauriii | davidhernandez: Move form classes from preprocess to templates. 2014-10-08 11:52:46 +01:00
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