You are here

public function Flexiform::updateElement in Flexiform 7

File

./flexiform.entity.inc, line 90
flexiform.entity.inc

Class

Flexiform
The class used for flexiform entities

Code

public function updateElement($element) {
  $this->elements[$element
    ->getElementNamespace()] = $element
    ->toSettingsArray();
}