Property | Description | Returns |
---|---|---|
local | Returns the information that this is not a local component | bool |
global | Returns the information that this is a global component | bool |
blank | Returns the information that this is not a blank component | bool |
areas | Get the layout areas this component is associated with | Collection |
areaGroups | Gets the layout area groups this component is associated with | Collection |
componentAreas | Get the component areas from the active revision Uses the active revision of the global component. | Collection |
usedInContent | Check if the component is used in content | bool |
numUsedInContent | Determine how often this global component has been used in the content (or component collections) | int |
assignedWorkflow | Get the workflow assigned to the record or entity | Workflow |
assignedWorkflow | Check whether the record has an assigned workflow | bool |
branches | Get the branches associated with the record | Collection |
numRevisionsWithoutBranch | Get the number of revisions without branch | int |
revisionsWithoutBranch | Get all revisions without branch | Collection |
id | int | |
name | string | |
identifier | string | |
layout | Layout | |
created | Get the date the record was created. | DateTime |
modified | Get the last modification date for the record. | DateTime |
hidden | DateTime | |
site | Site | |
activeRevision | GlobalComponentRevision | |
revisions | Collection (GlobalComponentRevision) | |
lastRevision | Get the last revision for the entity. If a revision has been added, this will be the newly added revision. | GlobalComponentRevision |
copiedComponents | Collection (Component) | |
tags | Collection (Tag) | |
categories | Collection (Category) |
Common\Models\Api\GlobalComponent
GlobalComponent