You are here

public function MultiStepStorage::getValueFromStore in User Merge 2.x

Get default value.

Parameters

string $property: Id of property plugin.

string $name: Field name.

Return value

string|null Field value.

Overrides MultiStepStorageInterface::getValueFromStore

File

src/MultiStepStorage.php, line 71

Class

MultiStepStorage
Class MultiStepStorage.

Namespace

Drupal\usermerge

Code

public function getValueFromStore($property, $name) {
  $values = $this->store
    ->get($property);
  if (isset($values[$name])) {
    return $values[$name];
  }
  return NULL;
}