OBJECT

AlpArticleWidget

A Widget for customizing an article in the Admin Landing Page project

link GraphQL Schema definition

  • type AlpArticleWidget implements AlpWidgetInterface {
  • # Id of the Widget
  • id: Int!
  • # Group where the Widget belongs to
  • group: AlpGroup!
  • # Number of columns the widget will takes on a grid (6 or 12).
  • size: Int!
  • # Title of the Widget
  • title: String!
  • # Description of the Widget
  • description: String
  • # The Widget which precedes this one
  • prevWidget: AlpWidgetInterface
  • # The Widget which follows this one
  • nextWidget: AlpWidgetInterface
  • # Category associated to this widget
  • category: Category!
  • # Article associated to this widget
  • article: Article!
  • # Can content be edited?
  • editContent: Boolean!
  • # Can options be edited?
  • editOptions: Boolean!
  • # Can medias be edited?
  • editMedias: Boolean!
  • # Does the article have to contain only one media?
  • onlyOneMedia: Boolean!
  • }

link Require by