code: private function parseModelOperations(Contao2BackendViewDefinitionInterface $view)
      {
          $collection = $view->getModelCommands();
  
          $scrOffsetAttributes = ['attributes' => 'onclick="Backend.getScrollOffset();"'];
          $this->createCommand($collection, 'edit', ['act' => 'edit'], 'edit.svg');
          $this->createCommand($collection, 'copy', ['act' => ''], 'copy.svg', $scrOffsetAttributes);
          $this->createCommand($collection, 'cut', ['act' => 'paste', 'mode' => 'cut'], 'cut.svg', $scrOffsetAttributes);
          $this->createCommand(
              $collection,
              'delete',
              ['act' => 'delete'],
              'delete.svg',
              [
                  'attributes' => sprintf(
                      'onclick="if (!confirm(\'%s\')) return false; Backend.getScrollOffset();"',
                      $this->translator->trans('MSC.deleteConfirm', [], 'contao_default')
                  )
              ]
          );
          $this->createCommand($collection, 'show', ['act' => 'show'], 'show.svg');
  
          if ($this->factory->getMetaModel($this->container->getName())->hasVariants()) {
              $this->createCommand(
                  $collection,
                  'createvariant',
                  ['act' => 'createvariant'],
                  'bundles/metamodelscore/images/icons/variants.png'
              );
          }
  
          // Check if we have some children.
          foreach ($this->viewCombination->getChildrenOf($this->container->getName()) as $tableName => $screen) {
              $metaModel = $this->factory->getMetaModel($tableName);
              $caption   = $this->getChildModelCaption($metaModel, $screen);
  
              $this->createCommand(
                  $collection,
                  'edit_' . $tableName,
                  ['table' => $tableName],
                  $this->iconBuilder->getBackendIcon($screen['meta']['backendicon']),
                  [
                      'label'       => $caption[0],
                      'description' => $caption[1],
                      'idparam'     => 'pid'
                  ]
              );
          }
      }
docs: Parse the defined model scoped operations and populate the definition.
  
  @param Contao2BackendViewDefinitionInterface $view The backend view information.
  
  @return void