Drupal 10: Creating Context Aware Plugins
In previous articles I have written about injecting context into context aware plugins and creating custom context providers and wanted to complet
Drupal 10: Migrating Flags With The Migrate Module
I've been doing a bit of Drupal migration recently, and one of the tasks I have undertaken is to migrate "likes" from a Drupal 7 site to a Drupal 10 site.
Drupal 10: Programmatically Injecting Context Into Blocks
Context definitions in Drupal are really useful when you want to inject context into your plugins and I have been using them for a little while now. It has made building custom blocks to add content to pages much easier as I don't need to copy the same block of code to find an entity of a particular sort into the block plugin.
Drupal 10: Creating Custom Context Providers
I previously looked at injecting context providers into context aware plugins. This time I will explore more about creating our own context providers to plug into this system.
Drupal 10: Using Context Definitions To Create Context Aware Plugins
When developing plugins in Drupal a common task is to inject context so that certain tasks can be performed.
Drupal 9: Loading Configuration Entities Using Entity Query
Whilst working on a module I found that I needed to do something that was difficult to find information for. I think part of that is because the solution is simpler than I was thinking, but it did cause me to get lost in source code and internet issues for a while.
First of all, thanks for the blog post, it really helped me!
Just one thing I'd like to note though; I did manage to successfully access the Views import page with a regular user with all permissions using the following code:
Hope this helps someone...
Submitted by Ben Vercammen on Tue, 06/21/2011 - 21:01Permalink
Hi Ben! Thanks for that snippet. Very interesting :)
Submitted by philipnorton42 on Tue, 06/21/2011 - 21:34Permalink
Add new comment