Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1923

Allow only one field definition with ezlandingpage Field Type

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Done
    • Icon: High High
    • 2.2.0
    • None
    • Landing Page Manager
    • None

    Description

      In order to avoid errors during content/edit using the Page Builder, we need to limit the number of field using ezlandingpage to one.

      There is already a function for this in the kernel:

      /** 
      * Indicates if the field definition of this type can appear only once in the same ContentType. 
      * 
      * @return bool 
      */ 
      public function isSingular() 
      { 
          return false; 
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: