comparison core/modules/content_moderation/src/Controller/ModeratedContentController.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
12 12
13 /** 13 /**
14 * Provides the listing page for moderated nodes. 14 * Provides the listing page for moderated nodes.
15 * 15 *
16 * @return array 16 * @return array
17 * A render array as expected by drupal_render(). 17 * A render array as expected by
18 * \Drupal\Core\Render\RendererInterface::render().
18 */ 19 */
19 public function nodeListing() { 20 public function nodeListing() {
20 $entity_type = $this->entityTypeManager()->getDefinition('node'); 21 $entity_type = $this->entityTypeManager()->getDefinition('node');
21 22
22 return $this->entityTypeManager()->createHandlerInstance(ModeratedNodeListBuilder::class, $entity_type)->render(); 23 return $this->entityTypeManager()->createHandlerInstance(ModeratedNodeListBuilder::class, $entity_type)->render();