Commit Graph

639 Commits (51d40866c93a5728945c2ad1976c4efa71140856)

Author SHA1 Message Date
xjm 6dc062eb45 Issue #2901562 by mfernea, Jo Fitzgerald, Yogesh Pawar, 3ssom, Mile23, borisson_: Fix 'Squiz.WhiteSpace.SuperfluousWhitespace' coding standard 2017-11-09 15:13:57 -06:00
xjm f2c1ef4f16 Issue #2920015 by mairi, tedbow, dinarcon: Add change record to @deprecated for drupal_render_children() 2017-11-05 05:46:03 -06:00
xjm d0e3796991 Issue #2920018 by sergiuteaca, billywardrop, anyaabchiche, Janec, JO0st, davemckain, dinarcon, sthomps5, mairi, jyraya, kwhite: Add Change record to @deprecated for element_info service 2017-11-03 16:29:30 -05:00
Nathaniel Catchpole 2fc85e7f0f Issue #2901572 by Jo Fitzgerald, bluccas, mfernea, klausi: Fix 'Drupal.Commenting.PostStatementComment' coding standard 2017-10-13 13:43:02 +01:00
Lauri Eskola 7f27bbaba1 Issue #2704871 by pepegarciag, Mile23, Manuel Garcia, ieguskiza, snehi, gaurav.pahuja, dimaro, rajeshwari10, gargsuchi, pashupathi nath gajawada, penyaskito, xjm, ZeiP, Wim Leers, alexpott: Replace usages of deprecated method drupal_render() 2017-07-03 18:35:13 +03:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
xjm e223ebe5f7 Revert "Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render()"
This reverts commit ae3ee31751.
2016-12-12 13:03:21 -06:00
xjm ae3ee31751 Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render() 2016-12-12 12:49:03 -06:00
Alex Pott 70f58860c8 Issue #2716685 by Mile23: Part 2: Fix several errors in the 'Drupal.Commenting.DocComment' coding standard 2016-05-05 12:32:19 +01:00
Alex Pott 6ab5a3aaa1 Issue #2715741 by Mile23, pfrenssen: Fix 'Drupal.Classes.FullyQualifiedNamespace' coding standard 2016-04-30 15:11:15 +01:00
Nathaniel Catchpole 4d185faff1 Issue #2674408 by alexpott, dawehner: Fix Drupal.Classes.UnusedUseStatement standard in core 2016-03-14 09:22:44 +09:00
Alex Pott 5278698510 Issue #2679953 by malavya, subharanjan, AjitS, aditya_anurag, mikebell_, jhodgdon: Replace mentions of url() in docs 2016-03-10 16:05:49 +00:00
Nathaniel Catchpole d47dab1e30 Issue #2544156 by joelpittet: Deprecate drupal_render_children() 2015-10-23 20:36:20 +01:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
Alex Pott 1844088377 Issue #2554771 by Mile23, Wim Leers: Remove deprecated drupal_process_attached() 2015-10-02 13:03:26 +01:00
effulgentsia 708ce0a998 Issue #2576533 by alexpott, stefan.r, Wim Leers, dawehner, xjm, effulgentsia, catch: Rename SafeStringInterface to MarkupInterface and move related classes 2015-10-01 16:25:03 -07:00
catch 1d50852a7a Issue #2570107 by alexpott: Make format_plural() return a PluralTranslatableString object to remove reliance on a static, unpredictable safe list 2015-09-20 19:42:23 +02:00
Alex Pott 5c943b5c95 Issue #2569069 by stefan.r, mr.baileys, alexpott, lauriii: Replace TranslationWrapper with TranslatableString and deprecate TranslationWrapper 2015-09-20 16:28:27 +01:00
effulgentsia e7a7de9f8c Issue #2557113 by stefan.r, alexpott, dawehner, joelpittet, cilefen, lauriii, plach, catch, chx, xjm: Make t() return a TranslationWrapper object to remove reliance on a static, unpredictable safe list 2015-09-18 21:33:21 -07:00
Nathaniel Catchpole b544422d4d Issue #2477223 by Mile23, Wim Leers, j2r, ianthomas_uk, jaimeguzman, pjbaert: Refactor _drupal_add_html_head, drupal_get_html_head, _drupal_add_html_head_link into the attachments processor, remove from common.inc 2015-09-17 22:32:56 +01:00
Nathaniel Catchpole 77465e751f Issue #2552865 by Mile23: Deprecate drupal_process_attached() for 8.0.0 and either throw an Exception or make it work via the RenderContext 2015-09-17 14:04:40 +01:00
Alex Pott 2ca39a4720 Issue #2452475 by lhangea, googletorp, arpitr, neetu morwani, ianthomas_uk, Mile23: Remove deprecated function drupal_merge_attached() and its references 2015-09-09 14:28:29 +01:00
Nathaniel Catchpole 9f97162dd3 Issue #2557467 by alexpott: Deprecate check_url and convert usages to existing UrlHelper methods 2015-08-31 08:51:38 +01:00
Nathaniel Catchpole 9bee458886 Issue #2311393 by tim.plunkett: Remove hook_element_info() and all references to it 2015-08-28 22:30:43 +01:00
Nathaniel Catchpole f384961721 Issue #2557519 by alexpott, joelpittet: Remove many usages SafeMarkup::checkPlain() and replace with Html::escape() 2015-08-26 11:34:29 +01:00
Nathaniel Catchpole 7a6602c863 Issue #977844 by Wim Leers: Remove the 'every_page' option for CSS/JS assets: it is confusing, even damaging 2015-08-21 15:03:56 +01:00
Alex Pott 5236486e25 Issue #2221771 by ianthomas_uk, rpayanm, Eli-T, Rolf van de Krol, pjonckiere, xjm, DuaelFr: Mark all simple wrappers in bootstrap.inc and common.inc as deprecated 2015-08-20 22:42:55 +01:00
Alex Pott 3416124bef Issue #2467759 by Mile23, andypost, Wim Leers, Berdir, Fabianx, Crell: Refactor drupal_process_attached() so it doesn't depend on drupal_add_http_header() 2015-08-13 09:34:39 +01:00
Nathaniel Catchpole af0ebfea5c Issue #2501455 by Cottser, alexpott, akalata: Remove SafeMarkup::set() in drupal_render_children() and replace it with SafeString 2015-08-06 13:14:08 +01:00
Alex Pott 5a528e59df Issue #2493665 by Fabianx, dawehner, msonnabaum, catch: Add centralized container invalidation method 2015-07-07 17:35:44 +01:00
xjm 251f84779b Issue #2514092 by neclimdul: Fix typo in drupal_attach_tabledrag 2015-07-04 15:19:14 +01:00
catch 7f420bd908 Issue #2487600 by dawehner, Wim Leers, fgm: #access should support AccessResultInterface objects or better has to always use it 2015-06-30 16:22:49 +01:00
Alex Pott 68d4f0be10 Issue #2511472 by Wim Leers, Fabianx, dawehner: Refactor all usages of drupal_render()/Renderer::render() that break #2450993 2015-06-24 16:31:20 -05:00
Alex Pott d305a8efaa Issue #2499943 by mikey_p, Berdir, catch: system.active_theme.THEMENAME state should not cache theme data 2015-06-20 12:11:56 -05:00
Alex Pott d5d8b306a8 Issue #2451395 by dawehner, catch, fgm, David_Rothstein: drupal_get_schema()/drupal_get_complete_schema() no longer work as expected; remove them 2015-06-13 21:22:27 +01:00
Alex Pott dc53be5b5a Issue #2483433 by damiankloip, Wim Leers, catch, dawehner: Optimize CacheableMetadata::merge() + BubbleableMetadata::merge() 2015-06-05 21:57:04 +01:00
Nathaniel Catchpole 4509204286 Issue #2478483 by Wim Leers, Fabianx: Introduce placeholders (#lazy_builder) to replace #post_render_cache 2015-06-05 10:47:02 +01:00
Alex Pott 4e3e39cbf5 Issue #2429443 by vijaycs85, rteijeiro, penyaskito, gloob, xjm, nod_, geertvd, pjonckiere, alexpott, Wim Leers, Gábor Hojtsy, Fabianx, tim.plunkett: Date format form is unusable 2015-06-01 17:38:29 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Alex Pott 90433ce295 Issue #2296885 by mikeker, dawehner: Remove format_xml_elements() 2015-05-15 08:42:43 -07:00
Alex Pott 34d780b432 Issue #2452491 by arpitr, Mile23: @deprecate drupal_pre_render_link() for Drupal 9 2015-05-04 14:01:22 -07:00
Nathaniel Catchpole b9114f685b Issue #2443805 by a_thakur, JeroenT: Remove element_* from common.inc 2015-04-23 13:41:26 +01:00
webchick e02a165671 Issue #2471216 by joshi.rohit100, PieterJanPut, Wim Leers: render() should call the renderer service directly 2015-04-15 09:56:41 -07:00
Alex Pott 6d9f75a965 Revert "Issue #2451395 by dawehner: drupal_get_schema()/drupal_get_complete_schema() no longer work as expected; remove them"
This reverts commit db8fa57883.
2015-04-12 10:23:53 +01:00
Alex Pott 6ffc4cd8ba Issue #2226621 by JeroenT, ianthomas_uk, lokapujya, pjonckiere, marcingy, LinL, Xano, rpayanm, piyuesh23: Remove usage of element_info(), element_child() and element_children(). Deprecate element_info_property() 2015-04-09 15:52:29 +01:00
Alex Pott db8fa57883 Issue #2451395 by dawehner: drupal_get_schema()/drupal_get_complete_schema() no longer work as expected; remove them 2015-04-09 12:52:05 +01:00
Alex Pott a0078c51f8 Issue #2460695 by mitrpaka, rpayanm: No methods on RendererInterface should be static 2015-04-09 12:49: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 08584b25be Issue #2426805 by dawehner, martin107: Modernize drupal_get_destination() 2015-03-10 12:15:11 +00:00
Nathaniel Catchpole a0b2633948 Issue #2407397 by JeroenT, mrjmd: remove drupal_html_id() 2015-03-06 11:10:51 +00:00
Alex Pott 68af24db5e Issue #2407407 by JeroenT, vedpareek: Remove drupal_clean_id_identifier 2015-02-28 12:49:22 +00:00
webchick 1614664198 Issue #2378883 by Wim Leers, dawehner: Convert existing drupal_render() KernelTestBase tests to PHPUnit tests 2015-02-25 19:42:26 -08:00
Alex Pott 5d36a99411 Issue #2174507 by jessebeach, alansaviolobo, tim.plunkett: Make debug() use print_r() by default 2015-02-18 11:45:45 +00:00
Alex Pott a7e819e13d Issue #2343669 by mpdonadio: Remove _l() and _url() 2015-02-11 17:39:48 +00:00
webchick 4ae39d2fb8 Issue #2417645 by tim.plunkett, effulgentsia, pwolanin: Change destination query string handling to break dependence on system path 2015-02-02 13:58:16 -08:00
webchick e69cd76706 Issue #2416763 by xjm, Wim Leers, effulgentsia: Convert Url::fromUri() base:// scheme to base: 2015-01-30 15:15:21 -08:00
Alex Pott 2cdd0e284c Issue #2343043 by cilefen, hussainweb: valid_email_address() should use egulias/EmailValidator and become deprecated 2015-01-30 11:03:07 +00:00
Alex Pott 8ee035826c Issue #2347469 by mondrake, Wim Leers, larowlan, kattekrab, mnico, tadityar: Rendering forms in AjaxResponses does not attach assets automatically 2015-01-25 11:32:58 +00:00
Alex Pott 1e985b0d32 Issue #2348679 by znerol, Wim Leers: Move the remaining procedural page cache code to the page cache stack middleware 2015-01-23 13:19:03 +00:00
Nathaniel Catchpole dd3a59762d Issue #2368797 by Wim Leers, dawehner, rteijeiro: Optimize ajaxPageState to keep Drupal 8 sites fast on high-latency networks, prevent CSS/JS aggregation from taking down sites and use HTTP GET for AJAX requests 2015-01-21 15:21:06 +00:00
Alex Pott 62c31b569a Issue #2379741 by Wim Leers, damiankloip: Add Renderer::getCacheableRenderArray() to encapsulate which data is needed for caching a render array and have views use it 2015-01-15 09:58:58 +00:00
Alex Pott 211db405e4 Issue #2403097 by sergei_brill: Update format_date docblock (incorrect @see) 2015-01-12 14:07:51 +00:00
Alex Pott 3df1005421 Issue #2366539 by max-kuzomko, ianthomas_uk: Remove format_plural() 2015-01-12 12:36:46 +00:00
Nathaniel Catchpole 7d3be895ae Issue #2392787 by beejeebus, dawehner, alexpott: Move include statements from DrupalKernel::boot() into DrupalKernel::preHandle() 2015-01-12 11:38:54 +00: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
webchick 9682507e94 Issue #2382799 by rpayanm: Remove drupal_html_class() and drupal_clean_css_identifier() 2014-12-22 11:19:26 -08:00
Alex Pott 970ea07c17 Revert "Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator"
This reverts commit 0bcabf50e0.
2014-12-13 21:44:18 +01:00
Alex Pott 0bcabf50e0 Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator 2014-12-13 18:20:19 +01: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
Nathaniel Catchpole 77c613e36f Issue #2382533 by Wim Leers: Attach assets only via the asset library system 2014-12-09 11:55:57 +00:00
webchick bab6233d5b Issue #2388215 by freblasty, tim.plunkett: Drag and drop is broken. 2014-12-05 16:57:10 -08:00
Nathaniel Catchpole 4ecc4ead39 Issue #2382557 by Wim Leers: Change JS settings into a separate asset type 2014-12-04 11:37:59 +00:00
webchick a30b30bf55 Issue #2300817 by joshi.rohit100, er.pushpinderrana, tim.plunkett, ianthomas_uk, LinL, dawehner: Remove path_is_admin() as it is deprecated 2014-12-01 10:20:32 -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 7d36a7c3d8 Issue #2378263 by Wim Leers: hook_library_alter() must be manually invoked by users of LibraryDiscovery, and has no test coverage 2014-11-21 09:53:12 +00:00
Alex Pott da8ea3bfaa Issue #2346937 by dawehner, larowlan, Wim Leers, claudiu.cristea, msonnabaum: Implement a Renderer service; reduces drupal_render / _theme service container calls 2014-11-21 09:48:25 +00:00
Nathaniel Catchpole 488116d759 Issue #2352155 by Wim Leers: Remove HtmlFragment/HtmlPage. 2014-11-14 10:43:20 +00:00
Nathaniel Catchpole ecaa5279e1 Issue #1938918 by joelpittet, lauriii, botanic_spark, mdrummond, nielsonm: Convert menu theme tables to table #type. 2014-11-04 15:19:27 +00:00
Alex Pott 56af6886be Issue #2324371 by lauriii, aneek, chx, joelpittet, webflo, Fabianx, rteijeiro: Fix common HTML escaped render #key values due to Twig autoescape. 2014-10-27 09:47:54 +00:00
catch c40f08f350 Issue #2361843 by rpayanm: Remove usage of drupal_substr(). 2014-10-24 22:22:33 +01:00
Nathaniel Catchpole a2551812f5 Issue #2183075 by valderama, dinarcon, er.pushpinderrana, amitgoyal, umar-ahmad: Tidy up css.gzip and js.gzip configuration. 2014-10-24 16:58:22 +01:00
Nathaniel Catchpole 2d3266e61f Issue #2361681 by Wim Leers: drupal_render(): invert second argument ($is_recursive_call -> $is_root_call) => more strict, better DX/TX. 2014-10-24 15:51:28 +01:00
Nathaniel Catchpole 2acc93b960 Issue #2357937 by Wim Leers: Remove {{ feed_icons }} from page template (page.html.twig). 2014-10-24 12:18:42 +01:00
Nathaniel Catchpole 5b1f495510 Issue #2362123 by Wim Leers: Drupal_page_header() and drupal_send_headers() are dead code: already deprecated, zero uses remain: remove. 2014-10-23 10:20:47 +01:00
Nathaniel Catchpole 6cbb5d9e1e Issue #2350949 by Wim Leers: Add hook_page_attachments(_alter)() and deprecate hook_page_build/alter(). 2014-10-16 13:36:06 +01: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 b82e28d5e4 Issue #2267545 by ParisLiakos: Standardize to RFC 5424 log levels. 2014-10-14 09:43:11 +01:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
Nathaniel Catchpole 85145ba9e3 Issue #2350877 by dawehner, Wim Leers, hussainweb: Deprecate/rename drupal_add_feed(), drupal_add_html_head(), drupal_add_html_head_link(), drupal_add_http_header(), and allow to be set declaratively in #attached. 2014-10-10 12:49:31 +01:00
Nathaniel Catchpole b1fa3ac38c Issue #2184907 by JeroenT, ParisLiakos, ianthomas_uk, hussainweb, dawehner: Remove uses of drupal_add_http_header and related functions. 2014-10-09 12:58:40 +01:00
Alex Pott ebdca18dc3 Issue #2324791 by Michael Hodge Jr, ParisLiakos: Remove watchdog(). 2014-10-05 14:07:07 +02:00
Alex Pott 3b2e57f0c6 Issue #2326409 by Berdir, tim.plunkett: Annotate render element plugins. 2014-10-05 11:31:26 +02:00
Alex Pott 64de978a08 Issue #2347831 by xjm, effulgentsia: Fix documentation for \Drupal::url(), \Drupal::l(), etc. (and fix the change record). 2014-10-01 08:10:05 +02: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
webchick daaccc3b3d Issue #1869476 by rteijeiro, LewisNyman, lauriii, Wim Leers, mdrummond, swentel, hosef, cbiggins, larowlan, sun, EclipseGc, Gábor Hojtsy: Convert global menus (primary links, secondary links) into blocks. 2014-09-28 18:25:41 -07:00
webchick 0eda196d46 Issue #2340251 by iMiksu, alexpott, tim.plunkett, dawehner, Wim Leers: Remove most remaining url() calls. 2014-09-27 00:03:46 -07:00
catch 2c6cd92958 Issue #2340123 by Wim Leers: Setting cache tags can be tricky: use strings instead of nested arrays to improve DX. 2014-09-25 08:30:31 +01:00
webchick 5baf8db0d3 Issue #2342925 by tim.plunkett: Simplify url() in order for the installer to function without it. 2014-09-22 20:55:51 -07:00
Alex Pott c58bca379c Issue #2325571 followup by omers: Replace _theme() calls by calls to \Drupal::theme()->render(). 2014-09-19 10:40:50 +01:00
Alex Pott 4d82422e67 Issue #2325571 by asif_khan, omers | dawehner: Replace _theme() calls by calls to \Drupal::theme()->render(). 2014-09-18 17:03:36 +01:00