PHP Classes

File: src/Cabin/Bridge/View/cargo/README.md

Recommend this page to a friend!
  Classes of Scott Arciszewski   CMS Airship   src/Cabin/Bridge/View/cargo/README.md   Download  
File: src/Cabin/Bridge/View/cargo/README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 7 years ago
Size: 468 bytes
 

Contents

Class file image Download

Cargo Refresher

Just in case somebody is wondering why there are so many files in this directory: The purpose of the cargo system is to allow plugins to override how certain UIs are implemented. By default, it looks in CurrentCabin/Lens/cargo/{name here}.twig.

You shouldn't be changing the files directly; instead, define a new one and register it with:

\Airship\Engine\Gadgets::loadCargo(
    'cargo_identifier',
    'path/to/template.twig'
);