Skip to main content
7
results
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
A list of languages for the iOS app in speech mode: Arabic (Saudi Arabia) -...
Andrew Fletcher
In Drupal 8.x hiding the subject line is a quick task. In the admin area of your...
Andrew Fletcher
You have been working hard on getting comments being added (POST) through REST in Drupal 8.  However, now you are seeing the following Assigning the wrong user against a new comment - and most likely the new comment is being assigned to the site admin.   The error here is related to the _embedded uuid. What to do You need to check that you have the correct uuid for both the entity_id and the uid entity_id -...
Andrew Fletcher
For others that have spent countless hours getting this to work and are...