php symfony 1 update generator.yml

88 Views Asked by At

Is there a way to update generator.yml? I want to add a delete option for the list but nothing happened. Can someone help me? Also I tried hide or anything else. No matter wat I change in dis file it doesnt change on live. But dis file generates that site becuz templates just do extra things for the site.

    generator:
  class: sfDoctrineGenerator
  param:
    model_class:           UserDocument
    theme:                 custom_theme
    non_verbose_templates: true
    with_show:             false
    singular:              ~
    plural:                ~
    route_prefix:          user_document
    with_doctrine_route:   true
    actions_base_class:    sfActions

    config:
      actions: ~
      fields:  ~
      list:
        display:
          - _user_profile_id
          - _doc_type
          - =doc_value
          #- doc_expired_at
          #- updated_at
        batch_actions: []
        object_actions: []
        actions: []
      filter:
        class: BackendUserDocumentFormFilter
      form:
        class: BackendUserDocumentForm
        actions:
          _save: ~
      edit:    ~
      new:     ~
0

There are 0 best solutions below