Announcement

Collapse
No announcement yet.

Create custom Core/Record.php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create custom Core/Record.php

    I want to edit Record.php. But I do not want to do this on my own. I created it specially but it does not work.
    It works for the controller. But it does not work for the core/controllers folder.
    The sample namespace code is below.

    Code:
    namespace Espo\Custom\Core\Controllers;
    use \Espo\Core\Exceptions\Error;
    use \Espo\Core\Exceptions\Forbidden;
    use \Espo\Core\Exceptions\NotFound;
    use \Espo\Core\Exceptions\BadRequest;
    use \Espo\Core\Utils\Util;
    class Record extends Base
    {
    const MAX_SIZE_LIMIT = 200;
    public static $defaultAction = 'list';

  • #2
    You can not override core controllers in upgrade safe way, only each controller separately.

    Comment

    Working...
    X