You are here

function FieldsRSIPreventor::__set in Media Gallery 7

Same name and namespace in other branches
  1. 7.2 fields_rsi_prevention.inc \FieldsRSIPreventor::__set()

File

./fields_rsi_prevention.inc, line 52
This file provides easier access on entity properties and methods.

Class

FieldsRSIPreventor
Decorates an entity to provide getters/setters.

Code

function __set($key, $value) {
  $this->entity->{$key} = $value;
}