src/Table/FileTableButtons.php
/**
     * Handle the table buttons.
     *
     * @param FileTableBuilder $builder
     * @param Application $application
     */
Handle the table buttons.
@param FileTableBuilder $builder
@param Application $application
Handle the table buttons . @param FileTableBuilder $builder @param Application $application
public function handle(FileTableBuilder $builder, Application $application)
    {
        $segment = "app/{$application->getReference()}/files-module";
        $builder->setButtons(
            [
                'select' => [
                    'data-select' => $builder->getMode(),
                    'data-entry'  => function (FileInterface $entry) {
                        return $entry->path();
                    },
                ],
            ]
        );
    }
public function handle ( FileTableBuilder $ builder , Application $ application ) { $ segment = " app/ { $ application -> getReference ( ) } /files-module " ; $ builder -> setButtons ( [ 'select' => [ 'data-select' => $ builder -> getMode ( ) , 'data-entry' => function ( FileInterface $ entry ) { return $ entry -> path ( ) ; } , ] , ] ) ; }
Handle the table buttons.
Handle the table buttons .