Support RDFa output in link field formatter
Problem/MotivationSimilarly to #2034995: Test taxonomy term formatter RDFa output and other fields, we need to support RDFa for the link field formatter. The field formatter needs modification very...
View ArticleUse interfaces instead of Class for typehinting MetadataFactory
minor change for consistency's sake. Using interfaces where possible.
View ArticleRename FieldInstanceConfig to FieldConfig
Follow-up to #2287727: Rename FieldConfig to FieldStorageConfigProblem/MotivationIn the past couple weeks, the Core/Field API has settled on a terminology of :FieldStorageDefinition : the "shared"...
View ArticleImplement stackphp
Problem/MotivationThere is a common pattern called middlewars among various programming languages, more about on https://igor.io/2013/02/02/http-kernel-middlewares.html These middlewares allow...
View ArticleTestBase does not always use the correct database connection for handling...
ProblemIn edge-cases, error/exception assertions may be triggered and attempted to be inserted when the child site (under test) has not been set up yet.
View ArticleFieldUnitTestBase::createFieldWithInstance() pollutes test class with...
ProblemFieldUnitTestBase::createFieldWithInstance() has a first $suffix argument, which is used to dynamically create non-existing properties on the test class instance.It's fine to provide easy...
View ArticleSupport RDFa output in number field formatter
Problem/MotivationSimilarly to #2034975: Test RDFa output in email formatter and other fields, we need to verify whether the default placement of the RDFa markup on the field wrapper is sufficient for...
View ArticlePHP notice in clickLink if link does not exist
If you call $this->clickLink() and the link is not on the page, you'll get a PHP notice:ERROR: Undefined variable: url_target on line 1857 in...
View ArticleAllow #submit and #validate to be specified as methods of the form object
Problem/MotivationCurrently, our code is full of #submit and #validate referenced that look like this:<?php $form['submit']['#submit'][] = array($this, 'submitMethod');That has 3 distinct...
View ArticleRename FieldConfig to FieldStorageConfig
Problem/MotivationIn the past couple weeks, the Core/Field API has settled on a terminology of :FieldStorageDefinition : the "shared" properties that define a storage bucket for field data, relevant...
View ArticleDropButton component does not look well in RTL page
The design of Seven's drop button widget does not look good in RTL languages.Before patchAfter patch
View ArticleConfig entity static cache doesn't get reset and isn't override aware
#2202185: Statically cache Role entities to speed up (User|UserSession)::hasPermission() wants to enable entity static caching for user roles. #1885830: Enable static caching for config entities wants...
View ArticleCan't install new modules via UI
I am trying to install a contrib module (devel) on my Drupal 8 sandbox. When I go to the UI (/admin/modules/install) and enter the module url and click save, it thinks for a bit and brings me back to...
View ArticleUI problems on the Modules/Extend page
I really like the idea of the new design of the Extend/Modules page. However, it is not really working all that well for me, and I think these things should be fixed before release, so I've marked this...
View ArticleConvert update_test_mock_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 ArticleRefactor user entity properties to multilingual
Based on #1498634: [meta] Define revision/translation SQL schema for core entities (no patch) there should be a new schema. The name should be users_translation it's connected to users directly.
View ArticleAdd test coverage to UrlGeneratorTest for external option
Follow-up from #2266377: Speed up UrlGenerator a little by setting the 'external' option in the Url object .Problem/Motivation UrlGeneratorTest has no coverage for when $options['external'] is set. We...
View ArticleRefactor taxonomy entity properties to multilingual
Based on #1498634: [meta] Define revision/translation SQL schema for core entities (no patch) there should be a new schema for both taxonomy. See #1498674: Refactor node properties to multilingual for...
View ArticleMake EntityForm::save() save the entity
Problem/MotivationEntityForm currently does not actually save the entity, but instead makes every single implementation do that on its own.Proposed resolutionBecause core entity forms provide a proper...
View ArticleMove settings.php to /settings directory, fold sites.php into settings.php
ProblemThe new directory layout in D8 hides most parts of the advanced multi-site feature from users that don't need it, which is a good thing:Top-level /modules, /themes, and /profiles directories can...
View Article