You are here

public function FeedsConfigurable::__get in Feeds 8.2

Override magic method __get(). Make sure that $this->config goes through getConfig().

File

lib/Drupal/feeds/Plugin/FeedsConfigurable.php, line 148
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes. Captures configuration handling, form handling and distinguishes between in-memory configuration and persistent configuration.

Namespace

Drupal\feeds\Plugin

Code

public function __get($name) {
  if ($name == 'config') {
    return $this
      ->getConfig();
  }
  return isset($this->{$name}) ? $this->{$name} : NULL;
}