function EntityDisplayBaseMockableClass::getRenderer

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php \Drupal\Tests\Core\Config\Entity\EntityDisplayBaseMockableClass::getRenderer()

Overrides EntityDisplayInterface::getRenderer

File

core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php, line 92

Class

EntityDisplayBaseMockableClass
A class extending EntityDisplayBase for testing purposes.

Namespace

Drupal\Tests\Core\Config\Entity

Code

public function getRenderer($field_name) {
    return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.