public function ConfigEntityBase::set

Overrides Entity::set().

EntityInterface::set() implements support for fieldable entities, but configuration entities are not fieldable.

Overrides Entity::set

1 call to ConfigEntityBase::set()
View::get in drupal/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php
Overrides Drupal\Core\Entity\EntityInterface::get().

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 91
Definition of Drupal\Core\Config\Entity\ConfigEntityBase.

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function set($property_name, $value, $langcode = NULL, $notify = TRUE) {

  // @todo: Add support for translatable properties being not fields.
  $this->{$property_name} = $value;
}