User Id

I am working on a drupal 8 module in which i require the currently logged in user id and roles of that user.
Can anyone please help me.

page--node--1.html.twig not rendering

Hi

I am having a page--node--1.html.twig additionally to the page.html.twig. I want that page variant of the theme to be rendered for sitepath/node/1. but it ist not applied.

Also tried
function qsysdesktop_theme_suggestions_page_alter(array &$suggestions, array $variables) {
$node = $variables['node'];
$nodeid = $node->nid;
if( $nodeid == 1 )
{
$suggestions[] = 'page__node__1';
}

Synchronizing D6 & D8 user data

We're beginning an effort to migrate from D6 to D8. Since the application being migrated is large, complex, and mission-critical; our plan is to port over and deploy small bits of functionality to D8 over time. Both D6 and D8 will be running simultaneously on production until a total migration of all functionality is complete.

Say what? Essentially, we'll be routing certain URLs to the D8 instance (ie: /featureB/), and leave the others to route to the D6 instance (/featureA/).

/featureB/ ----> Drupal 8
/featureA/ ----> Drupal 6

drupal8 article

Problems with an article

I am busy with a drupal8 website
i created a few articles

with one of the articles i have problems
i try to updte the artcicle but when i save it everything is disappeared i did it gain but same result
what can be the reason?

kind regards

View - Relation between own Content Types

Hi

I have two (own created) content types and want to show the relation between them.
A can have more relations to B.
And B can have exactly one A.

I want to have two reports.
1.) List Report: Show Content of A and a List of all Titles (incl Link) of B
2.) Single Content: Show Content B and Content A on one page

Point 2 I can make with a content relation field. But how can I access this relation from A and show all beloning Bs.

Do I have to use the Relation module, or can I do this with core functionality?
Thanks.

Drupal 8 - Installed Modules not showing up in Configuration

I installed Drupal 8 just yesterday and I'm pretty Drupal-Rusty. My last really serious Drupal Project was in 2010 - so I'm reclimbing the Drupal Learning Curve.

The installation was via XAMPP and Bitnami. This went fine after I found I needed to run as the administrator to install XAMPP. The Bitnami install of Drupal had only one hiccup: The Apache Server stopped near the end of the install, threw an error message and then restarted. And setting up a test Drupal site was seamless.

On to my problem:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x