function RenderElementBase::__isset
Magic method: checks if a property value is set.
Parameters
string $name: The name of the property. Check whether the render key $element['#' . $name] is set where element is the render array this object was created from. This value is also accessible as $this->name.
Return value
bool Whether it is set or not.
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ RenderElementBase.php, line 640
Class
- RenderElementBase
- Provides a base class for render element plugins.
Namespace
Drupal\Core\Render\ElementCode
public function __isset(string $name) : bool {
return isset($this->storage['#' . $name]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.