HTTP Result Code: 503

I install Drupal 8 but error:

Select Table from DataBase

i want to select type,severity and message from watchdog is this correct?

function blablablabla_cron() {
 
  // Begin building the query.
  $query = db_select('watchdog', 'th')
    ->extend('PagerDefault')
    ->orderBy('wid')
    ->distinct()
    ->fields('th', array('variables'))
    ->limit(27000);

  // Fetch the result set.
  $result = $query  -> execute();

How to programmatically create a user account in Drupal 8?

Good morning.

I am looking for a way to create a user account programmatically in Drupal 8.

If someone knows how to, please let me know.

Thank you.

Theming in Paragraphs for Drupal 8

Theming

The default paragraphs template is in paragraphs-item.html.twig.
It uses theme suggestions for other templates, the following suggestions are available:

  • paragraph__[view_mode] (e.g. paragraph--default.html.twig)
  • paragraph__[type] (e.g. paragraph--image.html.twig)
  • paragraph__[type]__[view_mode] (e.g. paragraph--image--default.html.twig)

How to start with Paragraphs for Drupal 8

How to start in Drupal 8

  1. Create Paragraph Types (bundles in D7) add admin/structure/paragraphs_type
  2. Create a Entity Reference Revisions field on the node/entity type, like admin/structure/types/manage/page/fields for the Basic Page type of node or admin/structure/block/block-content/manage/basic/fields for blocks.
  3. Select "Paragraphs" at the field "Type of item to reference" and select a nice "Allowed number of values", "unlimited" is the best option for Paragraphs
  4. Select "Paragraphs" in the field "Reference method"

Paragraphs in Drupal 8

Drupal 8

A Drupal 8 version has been created, the alpha2 version is working with Drupal 8 beta 4. We try to keep the 8.x-1.x-dev branch compatible with the Drupal 8 HEAD. It currently has the same functionality as the Drupal 7 module.

The Drupal 8 version has been a complete rewrite of the module. It is now based on the Entity Reference Revisions module which is in core. Paragraphs defines:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x