Blog
How to fix Drupal\Component\Plugin\Exception\PluginNotFoundException: The "fakeobjects" plugin does not exist. Valid plugin IDs for Drupal\ckeditor...
Lately I was updating some Drupal websites and suddenly CKEditor was broken. It seems like it now needs its libraries from separate libraries folder instead of shipped with the module. Here is how I fixed it. I added the following packages to composer.json:
Blog
How to create a patch for a drupal module that is not in version control [blog + screen cast]
The following use case can occur when developing drupal: you want to patch a module, but it is a contrib module that is not in version control (it is ignored by git and gets downloaded on build). Therefore you can not use the standard GIT commands for creating a patch.
Blog
How to check for code deprecations in Drupal
Since Drupal 8, the community is actively updating the source code. Deprecations are something to deal with. This blog post shows you how to monitor your code.
Blog
Add bulk redirects with an EventSubscriber in Drupal 9
We know the Redirect module is an awesome way to create redirects for individual paths. But after a migration I needed to do some typical redirections.
Blog
Theming hooks for a custom entity
These snippets show you how to add hooks in order to generate twig files like mymodule/templates/my-entity--full.html.twig
Blog
How to add classes to link fields in twig
In the following examples, I loop over a tag field and set a link with classes
Blog
Ho to check if a field is empty in Drupal 8
A common task in custom coding is checking whether a field had a value. This snippet helps you with that.
Blog
How to use bundle classes in drupal 9 & 10
Bundle classes have arrived! In my opinion a major change to drupal and the way we will do theming. Introduced in branch 9.3.x.
Pagination
- Previous page
- Page 13
- Next page