Skip to content

Why does XBlock define a name field? #864

@kdmccormick

Description

@kdmccormick

Ever since the early days, the XBlock base class has defined a name field:

name = String(help="Short name for the block", scope=Scope.settings)

This is different than the display_name field which edx-platform expects.

Is this used anywhere? Can we delete it?

Related... can we elevate display_name up to the XBlock base class without breaking backwards compatibility?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions