<?php
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: areas.php 66730 2018-06-17 12:36:19Z chibaguy $

function prefs_areas_list()
{
	return [
		'areas_root' => [
			'name' => tra('Areas root category ID'),
			'description' => tra('ID of category whose child categories are bound to a perspective by areas'),
			'type' => 'text',
			'size' => '10',
			'filter' => 'digits',
			'default' => 0,
			'help' => 'Areas',
			'profile_reference' => 'category',
			'dependencies' => [
				'feature_areas',
			],
		],
	];
}
