public function Element::unsetProperty in Express 8
Removes a property from the element.
Parameters
string $name: The name of the property to unset.
Return value
$this
1 call to Element::unsetProperty()
- Element::smartDescription in themes/
contrib/ bootstrap/ src/ Utility/ Element.php - Converts an element description into a tooltip based on certain criteria.
File
- themes/
contrib/ bootstrap/ src/ Utility/ Element.php, line 830 - Contains \Drupal\bootstrap\Utility\Element.
Class
- Element
- Provides helper methods for Drupal render elements.
Namespace
Drupal\bootstrap\UtilityCode
public function unsetProperty($name) {
unset($this->array["#{$name}"]);
return $this;
}