Skip to content

Added view mode name override function#37

Open
lolgm wants to merge 1 commit intodrupal-fancy:8.x-1.xfrom
lolgm:8.x-1.x
Open

Added view mode name override function#37
lolgm wants to merge 1 commit intodrupal-fancy:8.x-1.xfrom
lolgm:8.x-1.x

Conversation

@lolgm
Copy link
Copy Markdown

@lolgm lolgm commented Jul 20, 2021

The main purpose for this PR, is to add a simple text field and be able to configure the name of the view modes for each node.

I took the opportunity and cleaned up the code and made some fixes to follow the code standard recommended by Drupal.

example-config
example-node-edit

@jrochate
Copy link
Copy Markdown

Thanks! Looks good.

@lolgm lolgm reopened this Nov 3, 2023
@lolgm lolgm changed the title Added view mode name override function and code cleanup. Added view mode name override function Nov 3, 2023
@lolgm
Copy link
Copy Markdown
Author

lolgm commented Nov 3, 2023

I updated the code for new versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants