You are here

public function CalculatedLinkItemBase::__get in Salesforce Suite 8.3

Magic method: Gets a property value.

Parameters

string $property_name: The name of the property to get; e.g., 'title' or 'name'.

Return value

mixed The property value.

Throws

\InvalidArgumentException If a not existing property is accessed.

Overrides FieldItemBase::__get

File

modules/salesforce_mapping/src/Plugin/Field/CalculatedLinkItemBase.php, line 24

Class

CalculatedLinkItemBase
Calculated link item.

Namespace

Drupal\salesforce_mapping\Plugin\Field

Code

public function __get($name) {
  $this
    ->ensureCalculated();
  return parent::__get($name);
}