View Mode Theme Tools
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
This module provides some front-end tools for node view mode display:
This module provides some front-end tools for node view mode display:
Adds linkit support for link field in the entity embed dialog.
8.x-1.x only works with linkit 8.x-4.x which is maintenance only.
Provides a command bus
All you need to do is to create two classes, command and command handler, and pass the command object to the command bus.
1. Create your command handler plugin. That is a class that knows how to execute your command. You can inject any services into your handler class.
Simplifies dispatching and handling events. No need to keep track of underscored event names.
The main idea is to give your event class a readable name. The method name for handling that event in your event listener must be prefixed with when.
Examples:
Event: UserHasRegistered
Method: whenUserHasRegistered
Event: EmailWasSent
Method: whenEmailWasSent
This module changes default image field widget and formatter to allow use SVG image with the standard Image field.
Don't forget to add a svg file extension into the list of the allowed image extensions in the field settings.
Features (beyond the main functionality):
Locked Content satisfies a specific access control use case: you want users to be able to see teasers, links, and search results for locked materials, but want them to log in before actually visiting the full page view. It's useful for situations where keeping the existence of information secret isn't critical, but making sure users are logged in before they actully view the complete contents is important.
This module
* provides a hook to alter tabs
* provides a module that keeps uri query strings in tabs: If you are on node/view?destination=foo, you also see a tab node/edit?destination=foo
* provides a module that keeps uri suffixes in tabs: If you are on node/view/foo, you also see a tab node/edit/foo
Have fun!
Adds in the Color Dialog plugin for CKEditor.
This is required by plugins that need a CKEditor Bootstrap Glyphicons to work.
Other plugins can leverage panel button by adding this in their plugin definition:
Integrates the CKEditor Bootstrap Glyphicon plugin to CKEditor for Drupal 8.
Allows users to add color to text or background color behind it. Basic settings are supported for specifying the list of colors that can be allowed in the editor.
This module requires the CKEditor Color Dialog module for CKEditor.
Installation
Composer
composer require drupal/twig_render_this
Drush
drush en twig_render_this -y
Usage
Let's look at the following two lines:
{{ content.field_tags }}
{{ node.field_tags }}
The difference between these two lines is that in the first case we have the Tags field as a rendered array, and in the second case we have this field as an object.