How to pragmatically create revisions after edit form submission

I am trying to pragmatically set the revision log message after values of certain fields are changed (thus if a user has edits certain fields). More information is in the code comments

[Solved] View w/ contextual filter and header image token

UPDATE: I just solved this.  I deleted the image and re-uploaded it.

Greetings.  I created a view in Drupal 8, with a contextual filter in the path.  The view will vary by content author.  It lists the author's created content, via a Relationship to Author.

I want the view to display the user's Picture (an Image filed, in Home | Administration | Configuration | People | Account settings | Manage fields) in the header of the contextual view ouput, just once.

Stable Drupal 8 Rating Module?

Hello,

I was curious if anybody's using a rating (by users) module with Drupal 8. It appears the FiveStar module is popular with D7 but hasn't been ported to D8 (8.x dev in June 2017), and that it depends on the Voting API module which last had an 8.x alpha in June 2016. There's also Rate which had an 8.x alpha a year ago.

https://www.drupal.org/project/fivestar

https://www.drupal.org/project/votingapi

Are there methods to generically access "bundle" info for entity types with no bundles?

Title likely sounds confusing. Let me explain.

I am putting together a module which has a custom field which can be assigned to any "content type" which is fieldable. As an example, this could include node, users, taxonomy terms, etc.

Within the module i need to do things like: get entities in specific bundle, get bundle display name, etc.

In my code i use a loop through entityManager()->getFieldMap() to get a list of entity_type.bundles that have my custom field attached, so for my example site i have:

"node.camera"

"node.room"

8 - Bootstrap SASS Installation

Hi I posted my question on https://stackoverflow.com/questions/48692974/drupal-8-subtheme-sass but to no avail so I would like to try here.

I have read up on subtheming Subtheme-bootstrap and I believe to have made all the proper changes, but it does not render properly, drop down does not work, styling is kind of funky. My directory is:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x