Decouple field access checks from formatters and widgets
Entity render controllers and form controllers are not responsible for checking view and edit access on the entity. Calling code needs to do that where appropriate.So then, why should formatters and...
View ArticleProvide config schema to views components in node module
This is a sub-issue of #1910624: [META] Introduce and complete configuration schemas in all of core.Problem/motivation#1866610: Introduce Kwalify-inspired schema format for configuration introduced...
View Articleoutput of labels from hook_field_extra_fields() should not use check_plain()
Drupal\field_ui\DisplayOverview takes the definitions of extra fields, and runs the label through check_plain(): $extra_fields = field_info_extra_fields($this->entity_type, $this->bundle,...
View ArticleIncorrect URL generation irrespective of Page
Drupal is generating incorrect URL for the comments on my blog or forums... for example...drupal generates URL http://thinkingparticle.com/forum/gangotri-gaumukh-char-dham-uttaranchal...and keep...
View ArticleTerminology confusion: 'settings' vs. $configuration
Follow up to #1927608: Remove the tight coupling between Block Plugins and Block Entities. Even prior to that patch, blocks had a 'settings' key in their CMI files, but that patch expanded that key to...
View ArticleRemove 'module' from block plugin configuration
From #1927608-197: Remove the tight coupling between Block Plugins and Block Entities by @catch:It's also weird that we specify both the plugin and the module in block config but that predates the...
View Articleuser_uri() should not return an invalid path (user/0) for the anonymous user...
I think it is a bug that user_uri() returns 'user/0' if you pass in drupal_anonymous_user() to it. It should return nothing because user/0 is not a valid page in Drupal.
View ArticleAdd monospace font by default to textarea's
I find it difficult anytime I am dropping any code into a textarea to debug that string of code. How 'bout some monospace type for the textarea?
View ArticleProblems creating custom content types
I have installed the latest drupal core 7.22 multiple times to find a solution to this problem. When I install a fresh copy without added modules it functions well and I can create custom content...
View ArticleComment new mark forces render caching to be per user
The comment new mark is based on the user's last viewed timestamp, which means it's forced to be per-user. This makes comments only cacheable per-user (so do comment links but that's a separate...
View Article[meta] Essential UX cleanup of Edit
Make in-place editing work well on a smartphone (in terms of screen real estate)Touch up the stylingUse D8 core's dialog/modal instead of Edit's own: #1872296: Edit should use core-provided Dialog...
View ArticleAdding fields to user registration
How can i add additional fields to the site's register form during registration like date of birth, gender etc and make them available on user's profile?
View ArticleAgree on a standard for assigning references to variables
After #1876018: Displaced space in core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php has been committed I stumble upon lots of "disabled spaces". Both ways are possible but I think that...
View ArticleReverting to revisions prior to addition of field translations is broken
field_sql_storage_field_storage_write() does a DELETE ... INSERT.The DELETE is restricted by field language:<?php // Delete languages present in the incoming $entity->$field_name. //...
View ArticleImage field file extension validation doesn't work for the field after second.
Image field file extension validation doesn't work when the Number of values is set to more than one. the file extension validation work on the first row, but after second row it doesn't return any...
View ArticleAllow machine_name 'exists' to accept a callable
Unlike many of our other callbacks, the 'exists' callback for machine_name only allows for functions. It's trivial to improve it, and would help us in issus like #1982138: Clean out...
View ArticleHow to change the region where the body of a page is displayed?
My problem is that both at the basic page and at the article content type, the body (by default) is displayed on the left, above the navigation menu (second sidebar) and not at the content region. I...
View ArticleHelper issue for "field types as TypedData Plugins"
Testbot playground for #1969728: Implement Field API "field types" as TypedData Plugins
View ArticlePtevent Drupal being broken in Internet Explorer 8+
Under certain circumstances (eg intranet sites), IE8+ falls into "compatibility" mode. This breaks all kinds of CSS (eg menu bar) and makes it right impossible to use some JS...
View ArticleCustomBlock bundle() and id() needlessly rely on EntityNG getters
CustomBlock has public function bundle() { return $this->type->value; } This relies on EntityNG magic whizbang. Depending on where in the callstack this gets called (#1969728: Implement...
View Article