GithubHelp home page GithubHelp logo

maursilveira / field_label_override Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

Mirror of the drupal.org repository for Field Label Override module

Home Page: https://www.drupal.org/project/field_label_override

CSS 100.00%
drupal drupal-module drupal-project field label

field_label_override's Introduction

Field Label Override

Table of contents

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

Introduction

Field Label Override allows administrators to set custom labels to fields per entity view mode. This module works with fields for any entity type, such as nodes, taxonomy terms, blocks, etc.

Example: The content type Article has the field Body. Using this module, it is possible to set the label of this field to be displayed as Full Description for the Default (Full) view mode, where the full content of the field is rendered, and Short Description for the Teaser view mode, where only a summary or a trimmed version of the content is presented.

Requirements

This module requires Drupal core >= 10.0.

Installation

Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

Configuration

This module includes two settings:

Override label: The label to be used for the field in that respective view mode.

Preserve original label: Checkbox to determine if the original field label will be preserved. If checked, the original label will not be changed, and a new variable label_override will be available in the field twig template, containin the custom label. If unchecked, the original label will be completely overridden by the custom label.

Maintainers

Current maintainers:

field_label_override's People

Contributors

maursilveira avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.