nystudio107 /
craft-emptycoalesce
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Empty Coalesce plugin for Craft CMS 3.x |
||
| 4 | * |
||
| 5 | * Empty Coalesce adds the ??? operator to Twig that will return the first thing |
||
| 6 | * that is defined, not null, and not empty. |
||
| 7 | * |
||
| 8 | * @link https://nystudio107.com/ |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 9 | * @copyright Copyright (c) 2018 nystudio107 |
||
|
0 ignored issues
–
show
|
|||
| 10 | */ |
||
|
0 ignored issues
–
show
|
|||
| 11 | |||
| 12 | /** |
||
|
0 ignored issues
–
show
|
|||
| 13 | * @author nystudio107 |
||
|
0 ignored issues
–
show
|
|||
| 14 | * @package EmptyCoalesce |
||
|
0 ignored issues
–
show
|
|||
| 15 | * @since 1.0.0 |
||
|
0 ignored issues
–
show
|
|||
| 16 | */ |
||
| 17 | return [ |
||
| 18 | 'Empty Coalesce plugin loaded' => 'Empty Coalesce plugin loaded', |
||
| 19 | ]; |
||
| 20 |