getFieldConfig() public method

Get the config of one given field for a given content type.
public getFieldConfig ( string $contentType, string $field ) : array | false
$contentType string
$field string
return array | false
Exemplo n.º 1
0
 public function testTagsTaxonomyWeighting()
 {
     $app = $this->getApp();
     $search = new SearchConfig($app['config']);
     $fieldConfig = $search->getFieldConfig('entries', 'tags');
     $this->assertEquals(75, $fieldConfig['weight']);
 }