You are here

public function RowFieldset::__get in Views fieldsets 8.3

Magic method: Gets a property value.

Parameters

string $name: Method's name.

File

src/RowFieldset.php, line 46

Class

RowFieldset

Namespace

Drupal\views_fieldsets

Code

public function __get($name) {
  $method_name = 'get' . Unicode::ucwords($name);
  if (is_callable($method = [
    $this,
    $method_name,
  ])) {
    return call_user_func($method);
  }
  if (!empty($name) && !empty($this->properties[$name])) {
    return $this->properties[$name];
  }
  return FALSE;
}