/** * Creates a valid unique node type name which can be used in the node types configuration * * @param string $namespace * @return string */ public function getValidNodeTypeName($namespace) { return $namespace . ':' . Utility::renderValidName($this->uuid); }
/** * Creates a valid unique property name which can be used in the node types configuration * * @param string $prefix * @return string */ public function getValidPropertyName($prefix) { return $prefix . Utility::renderValidName($this->uuid); }