Update to Symfony 2.5.0
Yesterday (1.06.2014) Symfony 2.5.0 was released. http://symfony.com/blog/symfony-2-5-0-releasedLet's update it!
View ArticleModernize theme initialization
code at http://cgit.drupalcode.org/sandbox-sun-1255586/?h=theme-init-2228093-dawehner2ProblemTheme system is a mess.If you interact with the theme functionality, you currently use one of the following...
View ArticleReplace many of the global $theme/$theme_key with a call to the theme...
Updated: Comment 0Problem/MotivationThe theme negotiator issue allowed us to determine the active theme on a request, though it did not replaced all the global theme calls.Proposed resolutionThis patch...
View ArticleMove the theme initialization into its own service.
Updated: Comment 0Problem/MotivationIn order to get rid of getting the theme system untangled we need a clean way to fill up the globals (which will be somewhere else in the future). These globals are...
View ArticleReplace global $theme with global $theme_info
global $theme == global $theme_key (just the name)global $theme_info == Extension $theme (object)→ global $theme == global $theme_info->getName()Proposed solutionRename global $theme_info into...
View ArticleCustom date format changes date itself to 28 days less
I add 2 formats:2 July 2014 2 Jul 1:15But default drupal formats are in current date 29/07/2014 - 1:15So if I chose my custom format the date is wrong.
View ArticleColor module doesn't look for CSS files declared in a library
Working on #1813186: Integrate scripts/stylesheets from info/layout files with libraries I found out that color module only look for CSS files declared in the info file with the stylesheets key. It...
View ArticleAdd support for static permission definitions with *.permissions.yml
Problem/MotivationPer #2294177-5: Allow Drupal\Core to provide [config] entity types, we want to move some config entity types from a core module into core/lib, but that's impeded for entity types that...
View Article"The configuration property settings.allowed_values.0.label.0...
Problem/Motivation1. Create field of type "List (text)" with field add form, and fill the allowed values (they are not empty). 2. Export config of this field. It will be something like this (filename:...
View ArticleIntroduce MenuLinkContent bundles per menu
Problem/MotivationBack when MenuLink was an entity type, #1966298: Introduce menu link bundles per menus introduced bundles for it, where the bundle is the menu that the link is in (just like taxonomy...
View ArticleCreate a 'Profiling' install profile, for testbot-powered simple...
Problem/MotivationWe've been working for many months now to improve Drupal 8 performance. But not only is measuring (i.e. "profiling") it hard, it's also hard — even for the most prolific contributors...
View ArticleLog error when people use invalid route parameters
Let's inform people if they have a problematic route variable.
View Article_theme() does not trigger an error when a theme hook is not found
The theme function looks a bit like this: // Generate the output using either a function or a template. if (isset($info['function'])) { if (function_exists($info['function'])) { $output =...
View ArticleDocumentation incorrect for 7 special node hooks
The documentation for implementing hook_load(), hook_delete(), hook_prepare(), hook_insert(), hook_validate(), hook_update() and hook_view() is unclear at best, incorrect at worst.These modules are not...
View ArticleDrupalWebTestCase::drupalGetToken() does not add hash salt
Tokens are unusable, because DrupalWebTestCase::drupalGetToken() does not use a hash salt, while drupal_get_token() does. This bug makes it impossible to test code that uses tokens.Core does not use...
View ArticleRemove usage of function user_format_name()
Meta issue: #2205673: [meta] Remove all @deprecated functions marked "remove before 8.0"Remove the usage of user_format_name()Occurrence of the function[ashish@xeon:~/proj/self/d8/data/drupal8]$grep...
View ArticleRemove the null and memory backend definitions from core.services.yml in...
Problem/Motivation#2226761: Change all default settings and config to fast/safe production values added the null and memory backends to the container, despite objections from me and catch. This...
View ArticleFilter formats should not save plugin data when the plugin configuration...
In the code we have the following comment public function preSave(EntityStorageInterface $storage) { // Ensure the filters have been sorted before saving. $this->filters()->sort();...
View ArticleRemove uses of drupal_add_http_header and related functions
Follow-up from #1984766: Change notice: Start relying on Request/Response objects for cache handling.HTTP headers are now handed by the Symfony Request/Response objects. The legacy http header...
View Article