Function getRawRelationType

  • Clears the reverse indicator from the relation type if it is present.

    A reversed relation means the relation is considered from the object entity point of view. The reverse indicator is a prefix added as a convention in CubicWeb.

    Parameters

    • relationType: string

      The relation type to transform

    Returns string

    The relation type with the reverse indicator added or removed

Generated using TypeDoc