Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'am looking for a module to do the moderation staff. The workflow est pretty simple for my project (juste 3 states : draft, review, published). As the Workbench moderation is core since Drupal 8.2.x (but only in experimental core), i'm not sure which one i should take. I do need your suggestion :)
I'm working with Custom Entities but doesn't get the correlation between the form definitions in handlers of a @ContentEntityType structure, form modes and how to render them on a block/page.
I've created a Custom Entity and added some Display Mode through Drupal UI and it works fine. I also have different form defined:
I want to use Views to create a custom layout for individual nodes. (In other words, clicking on a node teaser would send users to my custom layout instead of the default node layout.) I used to know this, but it has been years since touching Drupal.
Currently, I have an Article view (block and page) that is supposed to have a path of node/nid. However, when I select a node teaser, the default Drupal full node layout is displayed, rather than my custom full node view.
Can anyone provide assistance or a link to such information?
Hello! I'm working on a custom Module that insert customaizable block through a form, so far this part is working.
I'm having problems to attach a css. Really dont know if the problem is that the css file is not getting attached or if it is actually getting attached but i'm not correctly applying the css tags or if it is something else...
I'm applying the css tags at the render array $block = array {... as you can see at the BlockHeader.php
Just in case the error is at another file i'm attaching them all...