public EntityDisplayBase::removeComponent($name)
Sets a component to be hidden.
string $name: The name of the component.
$this
Overrides EntityDisplayInterface::removeComponent
public function removeComponent($name) { $this->hidden[$name] = TRUE; unset($this->content[$name]); unset($this->plugins[$name]); return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayBase.php/function/EntityDisplayBase::removeComponent/8.1.x