Technical discussion

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
This is for discussions held in this group, not outside events.
gabrieldev's picture

Create a get all data REST resource

Hey guys! I have a problem. I want to create a get all data REST resource in Drupal 8. I need a request that will display all the data from all the requests. This request will be executed when the mobile application starts . I found this module:
https://github.com/enzolutions/entity_rest_extra, but I don't know the methods to display all the views with content types that I created. Any solution?

Read more
bletch's picture

Not sure if this is best place, we are looking for a freelancer to help with a Drupal 8 site in dev now

Hello,

We are looking for someone who already has experience building a production Drupal 8 site to provide freelance assistance.

Read more
IrishGringo's picture

This could be a D8 feeds questions... looking for code examples.

I was looking for D8 code to create Nodes from a cvs file. I understand that this would normally be the work of a feeds module. But as D8 is kind of new, and I have this requirement anyway, I wanted to create a module that will create a couple of custom node/content types.. then populate the nodes with about 30 records from a cvs file.
My use case is that this would be a way to create a site with just modules, including real data. Then feeds could take over afterwards.
I also want to create the Views for these content types.

Read more
timmillwood's picture

[PR effort] Contrib maintainers should add composer.json

Over in the webmasters queue I have started a discussion around a PR effort to get contrib module maintainers to add composer.json files to their modules.

Please join in and spread the word.

https://www.drupal.org/node/2547385

Read more
Fabianx's picture

Caching question: Has (entity) render caching given you problems so far?

Within Drupal 8 we build an exiting new caching API (https://events.drupal.org/losangeles2015/sessions/making-drupal-fly-fast... + https://amsterdam2014.drupal.org/session/render-caching-drupal-7-and-8.html)

However that means that anyone building contrib or custom modules needs to declare their dependencies using cache tags and contexts.

That means, if you e.g. do:

<?php
if ($some_condition_from_route) {
 
// do something
}
?>

then you need to add:

<?php
  $build
['#cache']['contexts'][] = route;
?>
Read more

Amazee Labs publishes Drupal 8 alpha/beta migration scripts

Amazee Labs, which took part in the both recent BOFs at DevDays Montpellier and DrupalCon LA about Drupal8 Production sites, just published their internal migration scripts:

https://github.com/AmazeeLabs/al_migrate8

Read more
Subscribe with RSS Syndicate content