<?php
/**
 * Elgg Reported content admin page
 *
 * @package ElggReportedContent
 */

elgg_require_js('elgg/reportedcontent');

echo elgg_list_entities_from_metadata([
	'type' => 'object',
	'subtype' => 'reported_content',
	'order_by_metadata' => [
		'name' => 'state',
		'direction' => 'ASC',
		'as' => 'text',
	],
	'no_results' => elgg_echo('reportedcontent:none'),
]);