Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function isApplicable(DatagridConfiguration $config)
 {
     return parent::isApplicable($config) && $config->offsetGetByPath(self::EXTEND_ENTITY_CONFIG_PATH, false) !== false;
 }
 /**
  * {@inheritdoc}
  */
 public function isApplicable(DatagridConfiguration $config)
 {
     return parent::isApplicable($config) && $config->offsetGetByPath(self::ENTITY_NAME_CONFIG_PATH, false) !== false && count($config->offsetGetByPath(self::ADDITIONAL_FIELDS_CONFIG_PATH, [])) > 0;
 }