Convert url_alter_test_foo() to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleConvert user_logout() to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleConvert user_page() to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleConvert user_view_page() to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleConvert variable_get() to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleUndefined index: #type in template_preprocess_search_theme_form()
In some cases, I get my log flooded with this message:Notice: Undefined index: #type in template_preprocess_search_theme_form() (line 1109 of...
View ArticleOrder of rendered blocks is wrong
Hi,I was porting my modules and re-installed drupal 8 as usual, placed my blocks and noticed that order of the rendered blocks is wrong:What are the steps required to reproduce the bug?Just install...
View ArticlePlease add file_validate_mimetypes upload validator to file fields
Now we have file_validate_extensions but extensions can be misleading. Change name from *.bmp to *.png and Windows will show it all right, many browsers too. Similar for zip and self extracting exe. So...
View ArticleAdministration Views in Core
Please consider implementing content filtering or moving Administrative Views and its dependencies into Drupal's core.It's truly surprising in Drupal that - after site content grows 200+ nodes or...
View ArticleField: add more button with finite number of fields I can add
Is it a way to make drupal field behave as 'an add more button', but with finite number of field I can add.e.g. Initially, there is only 1 field showing, then I can keep adding up to 4 more fields. I...
View ArticleAdd checkbox in installer to enable english translation (if in foreign language)
If I install D7 in a foreign language, the english interface is installed too. If I add the module "admin_language", I can decide, that all admin pages and the toolbar menue are in english. That is...
View ArticleModify drupal_rewrite_settings() to allow sticking settings to their comment...
Follow up for #1921818: Modify drupal_rewrite_settings() to allow writing $settings valuesProblem/MotivationThe current implementation of drupal_rewrite_settings() does not allow sticking settings to...
View ArticlePDOException thrown when vote count is empty
When submitting the node/add/poll form, if a Vote count field is empty (which is not expected) we end up with a PDOException as it tries to insert an empty string into an INTEGER field (which cannot be...
View ArticleContextual link JavaScript error when viewing a page such as /admin/* that...
This image captures the bug. It shows a Drupal 8 site on the /admin path. The debugger is paused on line 53 contextual.toolbar.js. In this case, we are trying to access Drupal.contextual.collection,...
View ArticleSupport deserialization of file entities in HAL
Problem/MotivationCurrently File entities can not be effectively deserialized because the file which the URI points to does not get copied locally.Proposed resolutionTemporarily, create a...
View ArticleNon-standard indentation on user_register_form()
The following piece of code does not follow the Coding Standards for indentation.<?phpfunction user_register_form($form, &$form_state) { global $user; $admin = user_access('administer users');...
View ArticleAvoid having empty field items by default
At #1777956-35: Provide a way to define default values for entity fields raised that having empty field items in $field objects is weird - as others. We've an empty field item object by default such...
View ArticleStop pretending we support Symfony bundles when we really just have container...
This was basically what was suggested by catch over in #1939660-10: Use YAML as the primary means for service registration and I have really come around to this idea.Right now we have a class defined...
View ArticleApply formatters to rendered entity base fields, starting with node.created
Part of #1949932: [META] Unify entity fields and field API and followup to #1950632-42: Make formatters and widgets work on nonconfigurable fields:In both cases (formatters / widgets), the rendering /...
View ArticleAdjust hook_options_list_alter() example in options.api.php to use...
Problem/MotivationPer #1898434-75: Remove theme_options_none, use an alter hook instead for changing empty option label, $field->id might turn into a protected property, so the API example should...
View Article