Features
class Features (View source)
This is a simple registry class to codify all the core features used by the asset system. Features listed in here are provided in some capacity by the core. Fundamental features like pages, files and users aren't used by the block feature system, because it's assumed the core will always have these available. However, they may be used in the future with a fully modular installation procedure.
Block types reference these features (i.e. the calendar block declares that it requires the Features::CALENDAR feature), and then themes can specify that they support those features. If they support them, the fallback assets shipped with the core won't be loaded, which will speed up page render time and allow for more flexible themes. If a theme doesn't support a given feature that is used on a page, the fallback assets will load, ensuring that the block still works.
Constants
PAGES |
Fundamental feature: Pages |
FILES |
Fundamental feature: support for uploaded files and the file manager. |
USERS |
Fundamental feature: support for users, authentication. |
STACKS |
Fundamental feature: support for stacks |
EXPRESS |
Fundamental feature: support for Express |
PACKAGES |
Fundamental feature: support for package installation. |
BASICS |
Fundamental feature: support for basics on the front-end: file block, feature block, content, etc. .. |
TYPOGRAPHY |
Bedrock typography support: titles, display titles, buttons, colors, etc. .. |
CALENDAR |
Accessory feature: support for calendars |
BOARDS |
Fundamental feature: support for Boards |
NAVIGATION |
Accessory feature: support for autonav, page list, etc. .. |
DOCUMENTS |
Accessory feature: support for documents (public file manager) |
SOCIAL |
Accessory feature: support for social networking |
FORMS |
Accessory UI feature: form/data entry interfaces |
MULTILINGUAL |
Accessory feature: support for multilingual. Note, this does not mean the ability to run concrete5 in a language
other than English. This is more about running a site with multiple language trees. |
VIDEO |
Accessory feature: support for video |
IMAGERY |
Accessory feature: support for rich imagery (lightbox, galleries, sliders) |
MARKETPLACE |
Accessory feature: support for the concrete5 marketplace. |
TAXONOMY |
Accessory feature: support for tags, topics. |
TESTIMONIALS |
Accessory feature: support for testimonials |
CONVERSATIONS |
Accessory feature: support for conversations |
FAQ |
Accessory feature: support for FAQs |
SEARCH |
Accessory feature: support for search |
STAGING |
Accessory feature: support for the staging bar when a site is in staging mode |
MAPS |
Accessory feature: support for maps |
POLLS |
Accessory feature: support for surveys |
ACCORDIONS |
Accessory feature: support for accordions |
ACCOUNT |
Accessory feature: support for My Account/Edit Profile |
DESKTOP |
Accessory feature: support for desktop functionality, like "Waiting for Me", "Draft List", etc. .. |
PROFILE |
Accessory feature: support for frontend user profiles |