Neos\Neos\Ui\Domain\Model\Changes\Property::apply PHP Method

apply() public method

Applies this change
public apply ( ) : void
return void
    public function apply()
    {
        if ($this->canApply()) {
            $node = $this->getSubject();
            $value = $this->nodePropertyConversionService->convert($node->getNodeType(), $this->getPropertyName(), $this->getValue(), $node->getContext());
            $node->setProperty($this->getPropertyName(), $value);
            $this->updateWorkspaceInfo();
        }
    }