NerdsAndCompany\Schematic\Services\GlobalSets::getGlobalDefinition PHP Method

getGlobalDefinition() private method

Get global definition.
private getGlobalDefinition ( Craft\GlobalSetModel $globalSet ) : array
$globalSet Craft\GlobalSetModel
return array
    private function getGlobalDefinition(GlobalSetModel $globalSet)
    {
        return ['name' => $globalSet->name, 'fieldLayout' => Craft::app()->schematic_fields->getFieldLayoutDefinition($globalSet->getFieldLayout())];
    }