Sulu\Component\Content\Extension\AbstractExtension::loadProperty PHP Method

loadProperty() protected method

load a single property value.
protected loadProperty ( PHPCR\NodeInterface $node, string $name, string $default = '' ) : mixed
$node PHPCR\NodeInterface
$name string name of property in node
$default string value if no property exists with given name
return mixed
    protected function loadProperty(NodeInterface $node, $name, $default = '')
    {
        return $node->getPropertyValueWithDefault($this->getPropertyName($name), $default);
    }