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

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: Landing Page Manager
    • Labels:
      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

            Assignee:
            Unassigned
            Reporter:
            sylvain.guittard@ez.no Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: