Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
The custom 'Message text' handler was broken in my Drupal 8.3.2 installation.
I've found that if i rename the 'src/Plugin/Views' folder, where the field handler is located, to 'src/Plugin/views' and clear all cache, the handler is then correctly found.
I can't tell if my server configuration has something to do with this problem but it might help someone.
(Hope it's clear, english is not my native language :) )
Comment | File | Size | Author |
---|
Comments
Comment #2
bendev CreditAttribution: bendev at WebstanZ commentednice catch, this solves the issue for me as well.
Comment #3
bendev CreditAttribution: bendev at WebstanZ commentedComment #4
rvillan CreditAttribution: rvillan as a volunteer and commentedHere's a patch for that.
Comment #5
Martijn de Wit@rvillan are you sure this patch is for fixing this issue? It seems a total new file you are generating in your patch.
I thought the issue can be find in the GetText.php file. where is says:
namespace Drupal\message\Plugin\views\field;
as @jojo1028 mentioned the name of the Views plugin directory should be made lowercase.Comment #6
Martijn de Witsry wrong copy/paste....
Comment #7
Martijn de WitComment #8
kerasai CreditAttribution: kerasai at myDropWizard commentedI've added a patch for this issue on #2891680-14: Incorrect Directory Placement for Views Plugin.
I think we can close this as a duplicate.
Comment #9
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commentedComment #10
Martijn de Witso it should be fixed in #2901148: Double "Message" wizard naming in views for message entity for anyone wondering.