NerdsAndCompany\Schematic\Services\GlobalSets::getGlobalDefinition PHP 메소드

getGlobalDefinition() 개인적인 메소드

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