Lines Matching refs:modes
63 $modes = $this->registry->getModesForCategories([ModeRegistry::CATEGORY_CONTAINER]);
64 $this->assertContains('listblock', $modes);
65 $this->assertContains('table', $modes);
66 $this->assertContains('quote', $modes);
67 $this->assertContains('hr', $modes);
72 $modes = $this->registry->getModesForCategories([
76 $this->assertContains('listblock', $modes);
77 $this->assertContains('header', $modes);
82 $modes = $this->registry->getModesForCategories([
86 $counts = array_count_values($modes);
94 $modes = $this->registry->getModesForCategories(['nonexistent']);
95 $this->assertSame([], $modes);
113 $modes = $this->registry->getModesForCategories([ModeRegistry::CATEGORY_FORMATTING]);
114 $this->assertContains('custom_format', $modes);
119 $modes = $this->registry->getModes();
120 $this->assertNotEmpty($modes);
122 $sortValues = array_column($modes, 'sort');
130 $modes = $this->registry->getModes();
131 foreach ($modes as $entry) {
143 $modes = $this->registry->getModes();
144 $modeNames = array_column($modes, 'mode');