The function node_access_acquire_grants() from Drupal 7 is not in Drupal 8. The only reference I have found is a comment in core/modules/node/src/NodeAccessControlHandlerInterface.php line 43: Note: Don't call this function directly from a contributed module. Call node_access_acquire_grants() instead.
Any suggestions or pointers on how to achieve the same in Drupal 8?
So i installed drupal yesterday, and activated/installed the stark theme as i want to design it myself. I have to state, that i'm new and doesnt now anything about drupal. I then went into the core, and found stark theme. I then went into the css folder for stark, changed the css filename to something i prefer, and changed the name in the libraries.yml file. The styles i then added to the css file, which i renamed, isn't getting loaded. I have cleared caches and disabled aggregated JS and CSS.
My libraries.yml file: (changed it back to how I think it was before)
I am trying to create a module that creates a new content type and when I try to install the module I am getting the error below. This is from a configuration that I created by hand. I also created a configuration using the UI to create a content type, exported that, uninstalled and the attempted to install with the same result. I have Drupal 8.0.5 installed both on a Mac and a Linux system, both installations have the same problem.
I would like to change, how new accounts are registered, but cannot save the changes i made. Drupal thinks, unknown tokens were use. But i never touched the messages such as in "Welcome, new user" and so on.
I have never enterded that anywhere and do not see this words. Even the search-function of my browser (Chrome: F3) finds [site:account-name] only in this error message on the page.
Any hints?