You are here

public function FlowControllerPerBundle::getPropertyConfig in CMS Content Sync 2.1.x

@inheritDoc

Overrides IFlowController::getPropertyConfig

File

src/Controller/FlowControllerPerBundle.php, line 196

Class

FlowControllerPerBundle

Namespace

Drupal\cms_content_sync\Controller

Code

public function getPropertyConfig(string $entity_type, string $entity_bundle, string $property) {
  $entity_types = $this->flow->per_bundle_settings;
  if (empty($entity_types[$entity_type][$entity_bundle]['properties'][$property])) {
    return NULL;
  }
  return $entity_types[$entity_type][$entity_bundle]['properties'][$property];
}