protected function AnonymousPublishingClAdminBlocked::getAllBlockedContents in Anonymous Publishing 8
Get all contents to moderate.
Parameters
int $test_id: The test_id to retrieve results of.
Return value
array Array of results grouped by test_class.
1 call to AnonymousPublishingClAdminBlocked::getAllBlockedContents()
- AnonymousPublishingClAdminBlocked::buildForm in modules/
anonymous_publishing_cl/ src/ Form/ AnonymousPublishingClAdminBlocked.php - Form constructor.
File
- modules/
anonymous_publishing_cl/ src/ Form/ AnonymousPublishingClAdminBlocked.php, line 170
Class
Namespace
Drupal\anonymous_publishing_cl\FormCode
protected function getAllBlockedContents() {
$query = $this->database
->select('anonymous_publishing_emails', 'e');
$query
->fields('e');
$query
->orderBy('e.auid');
return $query
->execute()
->fetchAll();
}