t('Entity browser'); } /** * {@inheritdoc} */ public function getMachineLabel() { return $this->t('Label'); } /** * {@inheritdoc} */ public function getEntityType() { return 'entity_browser'; } /** * {@inheritdoc} */ public function exists() { return 'Drupal\entity_browser\Entity\EntityBrowser::load'; } /** * {@inheritdoc} */ public function getOperations($cached_values) { return [ 'general' => [ 'title' => $this->t('General information'), 'form' => GeneralInfoConfig::class, ], 'display' => [ 'title' => $this->t('Display'), 'form' => DisplayConfig::class, ], 'widget_selector' => [ 'title' => $this->t('Widget selector'), 'form' => WidgetSelectorConfig::class, ], 'selection_display' => [ 'title' => $this->t('Selection display'), 'form' => SelectionDisplayConfig::class, ], 'widgets' => [ 'title' => $this->t('Widgets'), 'form' => WidgetsConfig::class, ], ]; } }