PHP code example of remp / crm-privatbankar-module

1. Go to this page and download the library: Download remp/crm-privatbankar-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

remp / crm-privatbankar-module example snippets


    public function registerLazyWidgets(\Crm\ApplicationModule\Widget\LazyWidgetManagerInterface $lazyWidgetManager)
    {
        $lazyWidgetManager->registerWidget(
            'privatbankar.return.pending',
            CustomConfirmationWidget::class,
            200
        );
    }
    

    public function registerLazyWidgets(\Crm\ApplicationModule\Widget\LazyWidgetManagerInterface $lazyWidgetManager)
    {
        $lazyWidgetManager->removeWidget(
            'privatbankar.return.pending',
            \Crm\PrivatbankarModule\Components\ConfirmationPendingWidget::class,
        );
    }
    
bash
php bin/command.php application:seed