FAPI Container example class must be array
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...The example code shows'#attributes' => array('class' => 'accommodation', ),I believe this should...
View ArticleCan't create container after migration from D7
I successfully migrated my site from D7 to D8, but all my forum containers was imported as forums. Also when I try to create new forum container it saves as forum after submit. I checked...
View ArticleFix 'Drupal.NamingConventions.ValidVariableName.LowerStart' coding...
Part of meta-issue #2571965: [meta] Fix coding standards in coreStep 1: PreparationOpen the file core/phpcs.xml.dist and add a line for the sniff of this ticket. The sniff name is in the issue title....
View ArticleDocumentation page for hook_field_storage_info_alter() contain a reference to...
API page: https://api.drupal.org/api/drupal/modules%21field%21field.api.php/functi...The documentation page says, describing the parameters of the hook:$info: Array of informations on storage types...
View ArticleDon't run cron after updating cron settings
Consider the following scenarioNavigate to cron settings (/admin/config/system/cron)Change "Run cron every" to "Never"Click "Save configuration"Cron runs!I can see why this would be. it's reasonable to...
View ArticleAllow tokens for url of the Link field
The link text of the link field does allow to use tokens, but the url does not.A use case example is using the link for a sharing function where the link is...
View ArticleRegression: lost test coverage for handling default images in the Image field
Problem/MotivationWhile writing a test for #2322421: Recoverable fatal error: Object of class Drupal\Core\Field\FieldItemList I noticed a very peculiar line in ImageFieldDefaultImagesTest:foreach...
View ArticleReplace "Lorem Ipsum" Color preview HTML templates with example...
Currently in the Appearance section of Bartik, a live preview of a chosen color scheme is displayed as an image. This section uses Latin placeholder text, "Lorem ipsum . . . ." The problem is getting...
View ArticleFor BC purposes \Drupal\Tests\BrowserTestBase::drupalPostForm should return...
Discussed in #2867154: Form: Convert system functional tests to phpunit. \Drupal\Tests\BrowserTestBase::drupalPostForm doesn't return the HTML of the rendered page.From a BC perspective and for ease of...
View ArticleDefine FILE_STATUS_TEMPORARY and expose $status in file_save_data
Allow creation of temporary files when using file_save_data function by adding the $status parameter. Will default to FILE_STATUS_PERMANENT to preserve previous behaviour. Use cases:#327512-31:...
View ArticleThe "integer" plugin does not exist.
I did a core update from drupal 8.27 to 8.3.2 i am getting errorDrupal\Component\Plugin\Exception\PluginNotFoundException: The "integer" plugin does not exist. in...
View ArticleWrong field view display option type "integer" for weight field
Problem/MotivationWrong field view display option type "integer" for weight field. It throw PluginNotFoundException in some cases.Proposed resolutionChange type to correct value "number_integer"User...
View ArticleAllow an empty $base_url
Problem/MotivationI would like to have $base_url empty, like this: $base_url = ''; so all urls are reative. But when a I do that, it shows me:Notice: Undefined offset: 1 in drupal_settings_initialize()...
View ArticleAdd minimum PHP as platform config to composer.json
Problem/MotivationComposer allows us to configure a platform so that when resolving dependencies it'll behave as though you are using that version of PHP. See...
View ArticleUse form element of type date instead textfield when selecting a date in an...
Problem/MotivationWhen adding a datetime exposed filter I cannot simply select a date - I have to manually enter a date which is very bad UX.Proposed resolutionUse a form element with '#type' =>...
View ArticleFix Drupal.Array.Array.ArrayIndentation coding standard
Part of meta-issue #2571965: [meta] Fix coding standards in coreStep 1: PreparationOpen the file core/phpcs.xml.dist and add a line for the sniff of this ticket. The sniff name is in the issue title....
View ArticleFrom address not properly quoted. Causes errors if comma in site name.
1. Install a D8 site 2. Add a site name that contains a comma 3. Install module swiftmailerWhen sending a mail message the from address is sent through a RFC 822 compatible mailbox parser and will...
View ArticleAllow updating modules with new service dependencies
Problem/MotivationWhen a module update introduces a dependency on a new module and adds a service with a dependency on a service of the new module. The system breaks and the update hook can not be...
View ArticleAdd binary font file types to .gitattributes
Problem/MotivationThe .gitattribues files specifies certain extensions as binary (like *.jpg ) to provider easier diffs.However, the web font formats .woff and .woff2 are missing. So for webfonts you...
View ArticleMove off-canvas functionality from Settings tray module into...
Problem/MotivationFor modules to use the off-canvas dialog provided by the Settings Tray module without the Settings Tray The Settings Tray module besides what its name suggests provides a lot more...
View Article