2017 © Pedro Peláez
 

craft-plugin craft-emptycoalesce

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

image

nystudio107/craft-emptycoalesce

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

  • Sunday, June 17, 2018
  • by khalwat
  • Repository
  • 1 Watchers
  • 18 Stars
  • 345 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status, (*1)

Empty Coalesce plugin for Craft CMS 5.x

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty., (*2)

Screenshot, (*3)

Requirements

This plugin requires Craft CMS 5.0.0 or later., (*4)

Installation

To install the plugin, follow these instructions., (*5)

  1. Open your terminal and go to your Craft project:, (*6)

    cd /path/to/project
  2. Then tell Composer to load the plugin:, (*7)

    composer require nystudio107/craft-emptycoalesce
  3. Install the plugin via ./craft install/plugin empty-coalesce via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Empty Coalesce., (*8)

You can also install Empty Coalesce via the Plugin Store in the Craft Control Panel., (*9)

Documentation

Click here -> Empty Coalesce Documentation, (*10)

Empty Coalesce Roadmap

Some things to do, and ideas for potential features:, (*11)

  • Submit a PR to the Twig project to get it into core

Brought to you by nystudio107, (*12)

The Versions

17/06 2018

v1.x-dev

1.9999999.9999999.9999999-dev

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

  Sources   Download

MIT

The Requires

 

twig empty craftcms craft-plugin operator coalescing craft3 coalesce

17/06 2018

dev-develop

dev-develop

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

  Sources   Download

MIT

The Requires

 

twig empty craftcms craft-plugin operator coalescing craft3 coalesce

04/06 2018

1.0.0

1.0.0.0

Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty.

  Sources   Download

MIT

The Requires

 

twig empty craftcms craft-plugin operator coalescing craft3 coalesce