protected function lazy_get_attributes() { return \ICanBoogie\array_merge_recursive(parent::lazy_get_attributes(), [Element::GROUPS => ['connection' => ['title' => 'Connection'], 'advanced' => ['title' => 'Advanced']]]); }
/** * Adds the "Visibility" group. * * The visibility group should be used to group controls related to the visibility of the * record on the site e.g. online status, view exclusion, navigation exclusion... * * The visibility group is created with an initial weight of 400. */ protected function lazy_get_attributes() { $attributes = parent::lazy_get_attributes(); $attributes[Element::GROUPS]['visibility'] = ['title' => 'Visibility', 'weight' => 400]; return $attributes; }