Add support for Twig into Token::replace
Suggestion: add support for Twig into token module so that we can print tokens based on conditions like:{# Directly access field in node entity #} {% if node.myfield|isEmpty is not false...
View ArticleMigrate D6 i18n translations of taxonomy vocabulary/terms
Problem/MotivationIn Drupal 6, you can use the I18n Taxonomy module to translate a taxonomy vocabulary and taxonomy terms. What happens when you do this is that:You mark a particular vocabulary as...
View ArticleDetecting block type where are "This block is broken or missing"
Problem/MotivationWhen you have a problem with your block you have just this message :" This block is broken or missing. You may be missing content or you might need to enable the original module."But...
View Articleinsert() and other public methods with an $options param should refer to...
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%...The $options param just says:> array $options: (optional) An array of options on the query.This is not very...
View ArticleMissing help message when adding new action and Incorrect help message when...
Problem/MotivationWhile trying to write the test case for #2917917: Change title for create action and edit action routes. I noticed the missing help message when adding a new action and incorrect help...
View ArticleFatal PHP error in Media (image) if one edits an image style after creating a...
(Debian 8, Apache 2.4, Maria DB 5.5.60, PHP 5.6.33)To reproduce the issue:Install default Drupal 8 with composerEnable media moduleCreate/upload a media imageEdit the name and Machine name of the...
View ArticleContent moderation + migrate = unpublished nodes
Just found https://www.drupal.org/node/2839371, and although it is closed and works as designed, I had a small question, we are importing nodes through migration and in the migration definition we...
View Article"Authored on" string on multilanguage sites not translating; always...
I came across a small glitch when using views on a multilanguage site. When using the "Authored On" field in a view, views will not use a translated version of the whole string but only of the time...
View ArticleAdd ability to disable AJAX for Views exposed form submit
Request: Provide configuration to disable AJAX for Views exposed form submission.Current Code: If the view is enabled to "use ajax", then form submission and pagers are setup to use AJAX.Use Case:...
View ArticleInstall profile in settings.php and mismatch check makes re-installs of...
Problem/Motivation#2156401: Write install_profile value to configuration and only to settings.php if it is writeable changed from always writing the install profile to configuration, and only to...
View ArticleRedirect loop on clean install with Drupal 8.0-alpha4 on CPanel
The subject tells the tale: on a clean install of Drupal 8, I get a redirect loop that eventually times out. I would mark this as critical since it makes it impossible to install Drupal, but there...
View ArticleIncorrect behaviour for block page visibility
Problem/MotivationWhen leaving the "listed pages" text area empty in "Pages" block visibility, the options "Show for the listed pages" and "Hide for the listed pages" do the exact opposite of what they...
View ArticleAllow run-tests.sh to generate coverage reports
Problem/MotivationThe testbot is built with phpdbg. This allows us to generate coverage reports from PHPUnit with minimal performance penalty. This can be seen in the testbot's native test runs:...
View ArticleHtml::serialize() escapes \r to
use \Drupal\Component\Utility\Html; $html_dom = Html::load("<b>text</b>\r\n"); echo Html::serialize($html_dom); The above code returns <b>text</b>
View ArticleError: Call to undefined function _datetime_type_field_views_data()
I have an sometime error with datetime_range core module. After clear cache it's work normallyError: Call to undefined function _datetime_type_field_views_data() in...
View ArticleMake serializer customizable for Cache\DatabaseBackend
Problem/MotivationThe Drupal\Core\KeyValueStore\DatabaseStorage uses a configurable serializer to store PHP objects. This serializer is injected as a service in core. The pre-configured serializer used...
View ArticleImage media source uses FileSystem class instead of FileSystemInterface for...
Problem/Motivationcore/modules/media/src/Plugin/media/Source/Image.php is using Drupal\Core\File\FileSystem class instead of Drupal\Core\File\FileSystemInterface for type hinting in its constructor....
View ArticleImprove usability of Views bulk action form in Seven theme
Problem/MotivationThe styling for the Views bulk action form is limited and can lead to confusion when presented along side other form elements. For example, on the administration content listing page...
View ArticleMove Relationships above Contextual Filters in Views Advanced Settings
In Views UI Advanced settings, Contextual Filters are placed above Relationships. The problem with this order is that some contextual filters (arguments) only show up if the users chooses a...
View ArticleRandom Failure in Drupal\Tests\Core\Command\QuickStartTest
Starting to see a new random fail in...
View Article